fix list title edit not working

This commit is contained in:
Henry Jameson 2025-12-22 14:14:40 +02:00
commit 202d1618c2
3 changed files with 4 additions and 3 deletions

View file

@ -116,9 +116,7 @@ const ListsNew = {
},
updateListTitle () {
useListsStore().setList({ listId: this.id, title: this.titleDraft })
.then(() => {
this.title = this.findListTitle(this.id)
})
this.title = this.findListTitle(this.id)
},
createList () {
useListsStore().createList({ title: this.titleDraft })