fix: list name is not up-to-date after modification (#2797)

This commit is contained in:
lazzzis 2024-04-11 21:14:54 -07:00 committed by GitHub
parent 706cffe209
commit 2a6a994da1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,9 +32,9 @@ async function prepareEdit() {
async function cancelEdit() { async function cancelEdit() {
isEditing.value = false isEditing.value = false
actionError.value = undefined actionError.value = undefined
reset()
await nextTick() await nextTick()
reset()
editBtn.value?.focus() editBtn.value?.focus()
} }