Работа над ServerStorage

This commit is contained in:
Book Pauk
2019-03-17 19:41:47 +07:00
parent 58941116c8
commit 2a4ff926ae
3 changed files with 53 additions and 17 deletions

View File

@@ -177,6 +177,7 @@ for (const font of webFonts)
// initial state
const state = {
toolBarActive: true,
serverSyncEnabled: false,
serverStorageKey: '',
profiles: {},
profilesRev: 0,
@@ -195,6 +196,9 @@ const mutations = {
setToolBarActive(state, value) {
state.toolBarActive = value;
},
setServerSyncEnabled(state, value) {
state.serverSyncEnabled = value;
},
setServerStorageKey(state, value) {
state.serverStorageKey = value;
},