Fix navigation

This commit is contained in:
jbnadal
2018-05-23 18:47:36 +02:00
parent f062088d9b
commit ddff073cf8
2 changed files with 15 additions and 16 deletions

View File

@@ -1,16 +1,15 @@
export const updateDrawerState = (state, opened) => {
state.drawerState = opened
}
state.drawerState = opened
}
export const updatePageMeta = (state, meta) => {
state.pageMeta = {
title: 'Domo',
hash: '',
icon: '',
iframeTabs: false,
backRoute: '/',
tabs: [],
...meta
}
export const updatePageMeta = (state, meta) => {
state.pageMeta = {
title: 'Domo',
hash: '',
icon: '',
iframeTabs: false,
backRoute: '/',
tabs: [],
...meta
}
}

View File

@@ -1,13 +1,13 @@
import Vue from 'vue'
import Vuex from 'vuex'
import example from './module-example'
import domoStore from './domo-store'
Vue.use(Vuex)
const store = new Vuex.Store({
modules: {
example
domoStore
}
})