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
This commit is contained in:
@@ -38,7 +38,7 @@ function openEventCreatePopover() {
|
|||||||
function handleClosing(e: Event) {
|
function handleClosing(e: Event) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
popoverOpen.value = false
|
popoverOpen.value = false
|
||||||
setTimeout(() => resetSkeleton(), 100)
|
resetSkeleton()
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user