From db1709cef7c6717ffa6867c75a877a3de22a2683 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Wed, 29 Nov 2023 17:50:01 +0100 Subject: [PATCH] recipe context add to meal plan default to_date --- vue/src/components/RecipeContextMenu.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/vue/src/components/RecipeContextMenu.vue b/vue/src/components/RecipeContextMenu.vue index df31666a..72db67f4 100644 --- a/vue/src/components/RecipeContextMenu.vue +++ b/vue/src/components/RecipeContextMenu.vue @@ -209,6 +209,7 @@ export default { this.entryEditing = this.options.entryEditing this.entryEditing.recipe = this.recipe this.entryEditing.from_date = moment(new Date()).format("YYYY-MM-DD") + this.entryEditing.to_date = moment(new Date()).format("YYYY-MM-DD") this.$nextTick(function () { this.$bvModal.show(`modal-meal-plan_${this.modal_id}`) })