fix: logout error (#901)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/901
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
dpschen 2021-10-26 16:48:04 +00:00 committed by konrad
parent 27c8bb3d19
commit d4fe3781f7

View file

@ -129,7 +129,7 @@ export default {
return state.namespaces.namespaces[0].lists.length > 0 return state.namespaces.namespaces[0].lists.length > 0
}, },
loading: state => state[LOADING] && state[LOADING_MODULE] === 'tasks', loading: state => state[LOADING] && state[LOADING_MODULE] === 'tasks',
deletionScheduledAt: state => parseDateOrNull(state.auth.info.deletionScheduledAt), deletionScheduledAt: state => parseDateOrNull(state.auth.info?.deletionScheduledAt),
}), }),
}, },
methods: { methods: {