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) {
|
||||
e.preventDefault()
|
||||
popoverOpen.value = false
|
||||
setTimeout(() => resetSkeleton(), 100)
|
||||
resetSkeleton()
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user