This commit is contained in:
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user