From 4faf6d8b0d9f8b8c50bee6a05ae1f0ffc11d6af7 Mon Sep 17 00:00:00 2001 From: Yonle Date: Sat, 28 Feb 2026 16:11:36 +0700 Subject: [PATCH] list_edit: setListAccounts() is never an Promise<>, So don't need to use .then() --- src/components/lists_edit/lists_edit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/lists_edit/lists_edit.js b/src/components/lists_edit/lists_edit.js index 83bd56de9..bdadd4fca 100644 --- a/src/components/lists_edit/lists_edit.js +++ b/src/components/lists_edit/lists_edit.js @@ -124,12 +124,12 @@ const ListsNew = { useListsStore() .createList({ title: this.titleDraft }) .then((list) => { - return useListsStore() + useListsStore() .setListAccounts({ listId: list.id, accountIds: [...this.addedUserIds], }) - .then(() => list.id) + return list.id }) .then((listId) => { this.$router.push({ name: 'lists-timeline', params: { id: listId } })