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

@ -43,6 +43,8 @@ export const useListsStore = defineStore('lists', {
})
},
setList ({ listId, title }) {
window.vuex.state.api.backendInteractor.updateList({ listId, title })
if (!this.allListsObject[listId]) {
this.allListsObject[listId] = { accountIds: [] }
}