I swear, I'm going to start doing regular commits
+ Added a ton of shit + About to add socket.io oh god.
This commit is contained in:
1 parent
6fe39406b7
commit
abb4e20ec3
24 files changed
+3171
-360
No files matched your search
@@ -10,6 +10,7 @@ export default new Vuex.Store({
|
||||
username: null,
|
||||
nightMode: false,
|
||||
isUserOnMobile: false,
|
||||
isNoteSettingsOpen: false, //Little note settings pane
|
||||
},
|
||||
mutations: {
|
||||
setLoginToken(state, userData){
|
||||
@@ -77,7 +78,9 @@ export default new Vuex.Store({
|
||||
state.isUserOnMobile = true
|
||||
}
|
||||
})(navigator.userAgent||navigator.vendor||window.opera, state);
|
||||
|
||||
},
|
||||
toggleNoteSettingsPane(state){
|
||||
state.isNoteSettingsOpen = !state.isNoteSettingsOpen
|
||||
}
|
||||
},
|
||||
getters: {
|
||||
@@ -96,6 +99,9 @@ export default new Vuex.Store({
|
||||
},
|
||||
getIsUserOnMobile: state => {
|
||||
return state.isUserOnMobile
|
||||
}
|
||||
},
|
||||
getIsNoteSettingsOpen: state => {
|
||||
return state.isNoteSettingsOpen
|
||||
},
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user