From 878b5bf236f7d1ddc9825d8dca8415313b08fd94 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Tue, 16 Aug 2022 20:18:42 +0200 Subject: [PATCH] fix: defaultListId --- src/views/Home.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Home.vue b/src/views/Home.vue index b8cf712d1..fe34d2056 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -89,7 +89,7 @@ const listHistory = computed(() => { const migratorsEnabled = computed(() => store.state.config.availableMigrators?.length > 0) const userInfo = computed(() => store.state.auth.info) const hasTasks = computed(() => store.state.hasTasks) -const defaultListId = computed(() => store.state.auth.defaultListId) +const defaultListId = computed(() => store.state.auth.settings.defaultListId) const defaultNamespaceId = computed(() => store.state.namespaces.namespaces?.[0]?.id || 0) const hasLists = computed(() => store.state.namespaces.namespaces?.[0]?.lists.length > 0) const loading = computed(() => store.state.loading && store.state.loadingModule === 'tasks')