mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-03 04:25:24 +02:00
fix failing build
This commit is contained in:
parent
bde885dc84
commit
625dbcdea5
7 changed files with 16 additions and 21 deletions
|
@ -31,7 +31,9 @@ export default defineComponent({
|
|||
},
|
||||
methods: {
|
||||
assignSorted(val: Array<Recipe>) {
|
||||
this.category.recipes = val;
|
||||
if (this.category) {
|
||||
this.category.recipes = val;
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
@ -31,7 +31,9 @@ export default defineComponent({
|
|||
},
|
||||
methods: {
|
||||
assignSorted(val: Array<Recipe>) {
|
||||
this.tag.recipes = val;
|
||||
if (this.tag) {
|
||||
this.tag.recipes = val;
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue