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,8 +1,8 @@
export const updateDrawerState = (state, opened) => {
state.drawerState = opened
}
}
export const updatePageMeta = (state, meta) => {
export const updatePageMeta = (state, meta) => {
state.pageMeta = {
title: 'Domo',
hash: '',
@@ -12,5 +12,4 @@ export const updateDrawerState = (state, opened) => {
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
}
})