refactor: remove redundant logic in updateEvent function in Calendar component

This commit is contained in:
Shariq Ansari 2025-08-06 18:22:04 +05:30
parent 38b838ec97
commit 682e445288

View File

@ -204,13 +204,6 @@ function updateEvent(_event) {
color: _event.color,
})
showEventPanel.value = false
if (showEventPanel.value) {
showEventPanel.value = true
activeEvent.value = _event.id
}
event.value = _event
}