1
0

chore: remove vikunjaReady from store

This commit is contained in:
Dominik Pschenitschni
2022-02-01 23:09:41 +01:00
parent dfa30258aa
commit 24a154422d
2 changed files with 2 additions and 6 deletions

View File

@ -60,7 +60,7 @@ const route = useRoute()
const store = useStore()
const ready = computed(() => store.state.vikunjaReady)
const ready = ref(false)
const online = useOnline()
const error = ref('')
@ -73,7 +73,7 @@ async function load() {
if (typeof redirectTo !== 'undefined') {
await router.push(redirectTo)
}
store.commit('vikunjaReady', true)
ready.value = true
} catch (e: any) {
error.value = e
}