Fixed organization

This commit is contained in:
Alexis
2024-12-03 15:21:36 +01:00
parent dd1cb1f420
commit bb6df1d440
4 changed files with 8 additions and 5 deletions

View File

@@ -39,6 +39,7 @@ function openEventCreatePopover() {
*/
function handleClosing(e: Event) {
if (isLoading.value) {
popoverOpen.value = false
e.preventDefault()
}
}
@@ -61,7 +62,7 @@ function handleClosing(e: Event) {
@interact-outside="handleClosing"
@pointer-down-outside="handleClosing"
>
<CalendarFormCreateEvent />
<CalendarFormCreateEvent @event-created="handleClosing" />
</UiPopoverContent>
</UiPopover>
</template>