croud-layout
Advanced tools
Comparing version 1.6.0 to 1.7.0
{ | ||
"name": "croud-layout", | ||
"main": "src/plugin.js", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "A Vue.js project", | ||
@@ -6,0 +6,0 @@ "author": "Brock <brock.reece@croud.co.uk>", |
@@ -12,2 +12,6 @@ import universal from './store/modules/universal' | ||
if (options.noLegacyAuth) { | ||
options.store.commit('universal/STOP_LEGACY_AUTH') | ||
} | ||
Vue.nextTick(() => { | ||
@@ -14,0 +18,0 @@ /* eslint-disable */ |
@@ -15,2 +15,3 @@ import Vue from 'vue' | ||
loading: true, | ||
legacyAuth: true, | ||
}, | ||
@@ -39,2 +40,5 @@ mutations: { | ||
}, | ||
STOP_LEGACY_AUTH(state) { | ||
state.legacyAuth = false | ||
}, | ||
}, | ||
@@ -134,2 +138,3 @@ actions: { | ||
loading: state => state.loading, | ||
legacyAuth: state => state.legacyAuth, | ||
effectivePermissions: (state) => { | ||
@@ -136,0 +141,0 @@ if (!state.permissions.global || !state.permissions.global.effective_permissions) return [] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
14022288
183758