fix: Home view (#1129)
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1129 Reviewed-by: konrad <k@knt.li> Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de> Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:
parent
d253d2e743
commit
4137bab7fc
1 changed files with 2 additions and 7 deletions
|
@ -47,7 +47,6 @@
|
||||||
v-for="(l, k) in listHistory"
|
v-for="(l, k) in listHistory"
|
||||||
:key="`l${k}`"
|
:key="`l${k}`"
|
||||||
:list="l"
|
:list="l"
|
||||||
:background-resolver="() => null"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -105,12 +104,8 @@ const migratorsEnabled = computed(() => store.state.config.availableMigrators?.l
|
||||||
const userInfo = computed(() => store.state.auth.info)
|
const userInfo = computed(() => store.state.auth.info)
|
||||||
const hasTasks = computed(() => store.state.hasTasks)
|
const hasTasks = computed(() => store.state.hasTasks)
|
||||||
const defaultListId = computed(() => store.state.auth.defaultListId)
|
const defaultListId = computed(() => store.state.auth.defaultListId)
|
||||||
const defaultNamespaceId = computed(() => store.state.namespaces.namespaces?.[0].id || 0)
|
const defaultNamespaceId = computed(() => store.state.namespaces.namespaces?.[0]?.id || 0)
|
||||||
const hasLists = computed (() => {
|
const hasLists = computed (() => store.state.namespaces.namespaces?.[0]?.lists.length > 0)
|
||||||
return store.state.namespaces.namespaces.length === 0
|
|
||||||
? false
|
|
||||||
: store.state.namespaces.namespaces[0].lists.length > 0
|
|
||||||
})
|
|
||||||
const loading = computed(() => store.state.loading && store.state.loadingModule === 'tasks')
|
const loading = computed(() => store.state.loading && store.state.loadingModule === 'tasks')
|
||||||
const deletionScheduledAt = computed(() => parseDateOrNull(store.state.auth.info?.deletionScheduledAt))
|
const deletionScheduledAt = computed(() => parseDateOrNull(store.state.auth.info?.deletionScheduledAt))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue