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.

15 lines
333 B

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