1
0

Merge branch 'fix/app-ready' into feature/vue3-modals-with-router-4

This commit is contained in:
kolaente
2022-01-30 21:53:24 +01:00
3 changed files with 14 additions and 8 deletions

View File

@ -141,10 +141,9 @@ export const store = createStore({
commit(CURRENT_LIST, currentList)
},
async loadApp({commit, dispatch}) {
async loadApp({dispatch}) {
await checkAndSetApiUrl(window.API_URL)
await dispatch('auth/checkAuth')
commit('vikunjaReady', true)
},
},
})