mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-08 11:25:17 -05:00
fix failing build
This commit is contained in:
@@ -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;
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user