From 69c16d1fd5fafc799243730589fe14ef6017d117 Mon Sep 17 00:00:00 2001 From: mayar osama Date: Tue, 26 Mar 2024 14:30:28 +0200 Subject: [PATCH] Fixing update vacation --- client/src/components/CalenderComponent.vue | 111 +++++++------------- client/src/utils/helpers.ts | 2 +- 2 files changed, 38 insertions(+), 75 deletions(-) diff --git a/client/src/components/CalenderComponent.vue b/client/src/components/CalenderComponent.vue index 78d46461..5df9eaa6 100644 --- a/client/src/components/CalenderComponent.vue +++ b/client/src/components/CalenderComponent.vue @@ -42,69 +42,41 @@ @click:outside="closeDialog(CalendarEventSelection.NewEvent)" > - + - + - + - + - + - + - + - + - + @@ -114,16 +86,15 @@ :routeQuery="selectedEvent" :modelValue="selectedEventType.isVacation" > - - + - - + @close-dialog="closeDialog(CalendarEventSelection.Vacation)" + @status-vacation="updateVacationStatus($event)" + @update-vacation="updateVacation($event)" + @delete-vacation="deleteVacation()" /> + +