Profile settings: add global Notification toggle
This commit is contained in:
parent
1ddedac0ef
commit
3ad766fe12
8 changed files with 128 additions and 79 deletions
|
|
@ -41,6 +41,7 @@ const vuexPersistLocalStorage = new VuexPersist({
|
|||
language: state.language,
|
||||
currentRoomId: state.currentRoomId,
|
||||
hasShownMissedItemsHint: state.hasShownMissedItemsHint,
|
||||
globalNotification: state.globalNotification,
|
||||
};
|
||||
} else {
|
||||
return {};
|
||||
|
|
@ -98,6 +99,9 @@ export default new Vuex.Store({
|
|||
},
|
||||
setHasShownMissedItemsHint(state, flag) {
|
||||
state.hasShownMissedItemsHint = flag;
|
||||
},
|
||||
setGlobalNotification(state, flag) {
|
||||
state.globalNotification = flag;
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue