From 5515f53794581248de6ca4292fcf5763816110cd Mon Sep 17 00:00:00 2001 From: Sean King Date: Thu, 6 Apr 2023 22:19:36 -0600 Subject: [PATCH] Fix lint in lists store --- src/stores/lists.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stores/lists.js b/src/stores/lists.js index 7669386a..d58a3dde 100644 --- a/src/stores/lists.js +++ b/src/stores/lists.js @@ -47,7 +47,7 @@ export const useListsStore = defineStore('lists', { this.allListsObject[listId] = { accountIds: [] } } this.allListsObject[listId].title = title - + const entry = find(this.allLists, { id: listId }) if (!entry) { this.allLists.push({ id: listId, title }) @@ -96,13 +96,13 @@ export const useListsStore = defineStore('lists', { const set = new Set(accountIds) set.delete(accountId) this.allListsObject[listId].accountIds = [...set] - + return result }) }, deleteList ({ listId }) { window.vuex.state.api.backendInteractor.deleteList({ listId }) - + delete this.allListsObject[listId] remove(this.allLists, list => list.id === listId) }