fixed meal plan edit id handling
This commit is contained in:
parent
2280d04fd2
commit
d9dc644cb6
@ -240,7 +240,7 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
//TODO properly validate
|
//TODO properly validate
|
||||||
this.$bvModal.hide(`id_meal_plan_edit_modal`)
|
this.$bvModal.hide(this.modal_id)
|
||||||
|
|
||||||
if ((this.mealplan_settings.addshopping || this.autoMealPlan) && !this.mealplan_settings.reviewshopping) {
|
if ((this.mealplan_settings.addshopping || this.autoMealPlan) && !this.mealplan_settings.reviewshopping) {
|
||||||
this.$set(this.entryEditing, 'addshopping', true)
|
this.$set(this.entryEditing, 'addshopping', true)
|
||||||
@ -260,7 +260,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
deleteEntry() {
|
deleteEntry() {
|
||||||
this.$bvModal.hide(`id_meal_plan_edit_modal`)
|
this.$bvModal.hide(this.modal_id)
|
||||||
useMealPlanStore().deleteObject(this.entryEditing)
|
useMealPlanStore().deleteObject(this.entryEditing)
|
||||||
},
|
},
|
||||||
selectMealType(event) {
|
selectMealType(event) {
|
||||||
|
Loading…
Reference in New Issue
Block a user