refactor: remove redundant logic in updateEvent function in Calendar component
This commit is contained in:
parent
38b838ec97
commit
682e445288
@ -204,13 +204,6 @@ function updateEvent(_event) {
|
|||||||
color: _event.color,
|
color: _event.color,
|
||||||
})
|
})
|
||||||
|
|
||||||
showEventPanel.value = false
|
|
||||||
|
|
||||||
if (showEventPanel.value) {
|
|
||||||
showEventPanel.value = true
|
|
||||||
activeEvent.value = _event.id
|
|
||||||
}
|
|
||||||
|
|
||||||
event.value = _event
|
event.value = _event
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user