inspect token before getting config

This commit is contained in:
jb-alvarado 2020-05-24 17:51:28 +02:00
parent c453616a64
commit 8b0bb17a96

View File

@ -26,6 +26,7 @@ export const mutations = {
export const actions = {
async nuxtClientInit ({ commit, dispatch, rootState }) {
await dispatch('auth/inspectToken', null, { root: true })
if (rootState.auth.isLogin) {
await dispatch('getGuiConfig')
await dispatch('getPlayoutConfig')