This commit is contained in:
2020-07-29 23:13:20 +00:00
parent 456cf2d8a2
commit 9c39c33229
5 changed files with 8 additions and 57 deletions

View File

@@ -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;
},