This commit is contained in:
2020-07-07 23:12:34 +00:00
parent 783cc19502
commit ca3fb50058
3 changed files with 22 additions and 9 deletions

View File

@@ -45,7 +45,8 @@ export default new Vuex.Store({
formSettings: {}, //this is the settings on forms that survive a refresh like grid number of items to show etc
formCustomTemplate: {}, //this is the custom fields settings for forms,
darkMode: false,
knownPassword: false
knownPassword: false,
newNotificationCount: 0
},
mutations: {
setLastClientVersion(state, data) {
@@ -82,6 +83,7 @@ export default new Vuex.Store({
state.locale.hour12 = true;
state.globalSettings = {};
state.knownPassword = false;
state.newNotificationCount = 0;
},
addNavItem(state, data) {
state.navItems.push(data);
@@ -149,6 +151,9 @@ export default new Vuex.Store({
},
setKnownPassword(state, data) {
state.knownPassword = data;
},
setNewNotificationCount(state, data) {
state.newNotificationCount = data;
}
},
actions: {}