From c249dc8334e07eeaef58ffbbd0b505701e0a0c89 Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Fri, 14 Mar 2025 12:10:46 +0100 Subject: [PATCH] Fixed regression on new event popover closing The setTimeout isn't good for reseting the skeleton ; it basically overrides the next time we open another day to add an event --- components/calendar/dialog/CreateEvent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/calendar/dialog/CreateEvent.vue b/components/calendar/dialog/CreateEvent.vue index ea87e02..b28d68a 100644 --- a/components/calendar/dialog/CreateEvent.vue +++ b/components/calendar/dialog/CreateEvent.vue @@ -38,7 +38,7 @@ function openEventCreatePopover() { function handleClosing(e: Event) { e.preventDefault() popoverOpen.value = false - setTimeout(() => resetSkeleton(), 100) + resetSkeleton() }