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

View File

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