This commit is contained in:
Henry Jameson 2026-08-31 17:41:35 +03:00
commit 456f25e94e

View file

@ -49,7 +49,9 @@ export const useListsStore = defineStore('lists', {
},
setLists(value) {
this.allLists = value
this.allListsObject = Object.fromEntries(value.map((list) => [list.id, list]))
this.allListsObject = Object.fromEntries(
value.map((list) => [list.id, list]),
)
},
async createList({ title }) {
return await createList({