mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-30 13:14:20 +00:00
* Ajout de raccourcis sur la page d'accueil
* Ajout de feedback au changement de page
This commit is contained in:
parent
ff7beafe06
commit
72a29eaaf0
16 changed files with 325 additions and 42 deletions
|
|
@ -24,13 +24,14 @@ export default new Vuex.Store({
|
|||
},
|
||||
|
||||
state: {
|
||||
loading: false,
|
||||
loading: true,
|
||||
drawer: false,
|
||||
rightDrawer: false,
|
||||
hasRightDrawer: false,
|
||||
inRightDrawer: null,
|
||||
isThemeDark: false,
|
||||
isOpenAboutDialog: false,
|
||||
isOpenSupportDialog: false,
|
||||
},
|
||||
|
||||
getters: {
|
||||
|
|
@ -41,6 +42,7 @@ export default new Vuex.Store({
|
|||
inRightDrawer: state => state.inRightDrawer,
|
||||
isThemeDark: state => state.isThemeDark,
|
||||
isOpenAboutDialog: state => state.isOpenAboutDialog,
|
||||
isOpenSupportDialog: state => state.isOpenSupportDialog,
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
|
@ -65,6 +67,9 @@ export default new Vuex.Store({
|
|||
isOpenAboutDialog: ({ commit }, payload) => {
|
||||
commit('setIsOpenAboutDialog', payload)
|
||||
},
|
||||
isOpenSupportDialog: ({ commit }, payload) => {
|
||||
commit('setIsOpenSupportDialog', payload)
|
||||
},
|
||||
},
|
||||
|
||||
mutations: {
|
||||
|
|
@ -91,5 +96,8 @@ export default new Vuex.Store({
|
|||
setIsOpenAboutDialog: (state, payload) => {
|
||||
state.isOpenAboutDialog = payload
|
||||
},
|
||||
setIsOpenSupportDialog: (state, payload) => {
|
||||
state.isOpenSupportDialog = payload
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue