Fix navigation
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user