mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-29 20:54:19 +00:00
WIP bestiaire
This commit is contained in:
parent
bde611ae9b
commit
510db9f858
58 changed files with 29311 additions and 365 deletions
|
|
@ -13,6 +13,7 @@ export default new Vuex.Store({
|
|||
},
|
||||
|
||||
state: {
|
||||
loading: false,
|
||||
drawer: true,
|
||||
rightDrawer: false,
|
||||
hasRightDrawer: false,
|
||||
|
|
@ -21,6 +22,7 @@ export default new Vuex.Store({
|
|||
},
|
||||
|
||||
getters: {
|
||||
loading: state => state.loading,
|
||||
drawer: state => state.drawer,
|
||||
rightDrawer: state => state.rightDrawer,
|
||||
hasRightDrawer: state => state.hasRightDrawer,
|
||||
|
|
@ -29,6 +31,9 @@ export default new Vuex.Store({
|
|||
},
|
||||
|
||||
actions: {
|
||||
updateLoading: ({ commit }, payload) => {
|
||||
commit('setLoading', payload)
|
||||
},
|
||||
updateDrawer: ({ commit }, payload) => {
|
||||
commit('setDrawer', payload)
|
||||
},
|
||||
|
|
@ -47,6 +52,9 @@ export default new Vuex.Store({
|
|||
},
|
||||
|
||||
mutations: {
|
||||
setLoading: (state, payload) => {
|
||||
state.loading = payload
|
||||
},
|
||||
setDrawer: (state, payload) => {
|
||||
state.drawer = payload
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue