mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-29 20:54:19 +00:00
classes
This commit is contained in:
parent
1050fbb531
commit
38931015db
71 changed files with 5819 additions and 184 deletions
|
|
@ -15,6 +15,7 @@ export default new Vuex.Store({
|
|||
rightDrawer: false,
|
||||
hasRightDrawer: false,
|
||||
inRightDrawer: null,
|
||||
isThemeDark: false,
|
||||
},
|
||||
|
||||
getters: {
|
||||
|
|
@ -22,6 +23,7 @@ export default new Vuex.Store({
|
|||
rightDrawer: state => state.rightDrawer,
|
||||
hasRightDrawer: state => state.hasRightDrawer,
|
||||
inRightDrawer: state => state.inRightDrawer,
|
||||
isThemeDark: state => state.isThemeDark,
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
|
@ -37,6 +39,9 @@ export default new Vuex.Store({
|
|||
updateInRightDrawer: ({ commit }, payload) => {
|
||||
commit('setInRightDrawer', payload)
|
||||
},
|
||||
isThemeDark: ({ commit }, payload) => {
|
||||
commit('setIsThemeDark', payload)
|
||||
},
|
||||
},
|
||||
|
||||
mutations: {
|
||||
|
|
@ -52,5 +57,8 @@ export default new Vuex.Store({
|
|||
setInRightDrawer: (state, payload) => {
|
||||
state.inRightDrawer = payload
|
||||
},
|
||||
setIsThemeDark: (state, payload) => {
|
||||
state.isThemeDark = payload
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue