This commit is contained in:
@@ -19,7 +19,6 @@ if (window.location.search) {
|
||||
export default new Vuex.Store({
|
||||
plugins: [createPersistedState({ key: "AyaNova" })],
|
||||
state: {
|
||||
openObject: null,
|
||||
lastClientVersion: "",
|
||||
authenticated: false,
|
||||
apiUrl: "",
|
||||
@@ -144,14 +143,6 @@ export default new Vuex.Store({
|
||||
setHomePage(state, data) {
|
||||
state.homePage = data;
|
||||
},
|
||||
setOpenObject(state, data) {
|
||||
//data should be format for open-object-handler
|
||||
// { type: [AYATYPE], id: [RECORDID] }
|
||||
state.openObject = data;
|
||||
},
|
||||
clearOpenObject(state) {
|
||||
state.openObject = null;
|
||||
},
|
||||
setDarkMode(state, data) {
|
||||
state.darkMode = data;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user