From ddff073cf8e70a8868d904d8bdb21ca5987965f8 Mon Sep 17 00:00:00 2001 From: jbnadal Date: Wed, 23 May 2018 18:47:36 +0200 Subject: [PATCH] Fix navigation --- .../src/store/domo-store/mutations.js | 27 +++++++++---------- src/prog/dashboard3/src/store/index.js | 4 +-- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/src/prog/dashboard3/src/store/domo-store/mutations.js b/src/prog/dashboard3/src/store/domo-store/mutations.js index 72e76c10..a05b09a7 100644 --- a/src/prog/dashboard3/src/store/domo-store/mutations.js +++ b/src/prog/dashboard3/src/store/domo-store/mutations.js @@ -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 - } - } - \ No newline at end of file +} diff --git a/src/prog/dashboard3/src/store/index.js b/src/prog/dashboard3/src/store/index.js index fff1919e..94d78055 100644 --- a/src/prog/dashboard3/src/store/index.js +++ b/src/prog/dashboard3/src/store/index.js @@ -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 } })