admin-users-create.js 328 B

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