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.

16 lines
316 B

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