From c115e6d83fe1b86e0467d22449a838db58cc2042 Mon Sep 17 00:00:00 2001 From: Nico Hirsch <30938717+noxhirsch@users.noreply.github.com> Date: Fri, 5 Dec 2025 17:05:47 +0100 Subject: [PATCH] feat: Put calendar directly in the date picker dialogs (#6110) Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com> Co-authored-by: Michael Genson --- .../RecipeContextMenuContent.vue | 35 ++++----------- .../pages/household/mealplan/planner/edit.vue | 44 ++++++------------- 2 files changed, 22 insertions(+), 57 deletions(-) diff --git a/frontend/components/Domain/Recipe/RecipeContextMenu/RecipeContextMenuContent.vue b/frontend/components/Domain/Recipe/RecipeContextMenu/RecipeContextMenuContent.vue index 953c948c9..81e942d8d 100644 --- a/frontend/components/Domain/Recipe/RecipeContextMenu/RecipeContextMenuContent.vue +++ b/frontend/components/Domain/Recipe/RecipeContextMenu/RecipeContextMenuContent.vue @@ -45,31 +45,15 @@ @confirm="addRecipeToPlan()" > - - - - + ([]); const newMealdate = ref(new Date()); const newMealType = ref("dinner"); -const pickerMenu = ref(false); const newMealdateString = computed(() => { // Format the date to YYYY-MM-DD in the same timezone as newMealdate diff --git a/frontend/pages/household/mealplan/planner/edit.vue b/frontend/pages/household/mealplan/planner/edit.vue index ca630c677..2a1b6a5e9 100644 --- a/frontend/pages/household/mealplan/planner/edit.vue +++ b/frontend/pages/household/mealplan/planner/edit.vue @@ -22,34 +22,17 @@ " @close="resetDialog()" > - - - - - - + + + - - + + @@ -261,7 +244,6 @@ export default defineNuxtComponent({ const state = ref({ dialog: false, - pickerMenu: null as null | boolean, }); const firstDayOfWeek = computed(() => {