From cdb8f903392ffd057820ca6be0890ebbbd3499a6 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Tue, 8 Dec 2020 15:03:01 -0700 Subject: [PATCH] Add some initial data to the state --- web/src/store/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/store/index.js b/web/src/store/index.js index 5effd6f..a5d9201 100644 --- a/web/src/store/index.js +++ b/web/src/store/index.js @@ -5,6 +5,9 @@ Vue.use(Vuex) export default new Vuex.Store({ state: { + view: `login`, + role: null, + id: null, }, mutations: { },