You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
302 B

  1. export default {
  2. namespaced: true,
  3. state: {
  4. shown: false
  5. },
  6. getters: {},
  7. mutations: {
  8. shownChange: (state, shownState) => { state.shown = shownState }
  9. },
  10. actions: {
  11. open({ commit }) { commit('shownChange', true) },
  12. close({ commit }) { commit('shownChange', false) }
  13. }
  14. }