2017-05-21 16:43:58 -04:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
export default {
|
2017-05-25 20:54:03 -04:00
|
|
|
namespaced: true,
|
2017-05-21 16:43:58 -04:00
|
|
|
state: {
|
2017-05-26 18:30:40 -04:00
|
|
|
shown: false
|
2017-05-21 16:43:58 -04:00
|
|
|
},
|
|
|
|
getters: {},
|
|
|
|
mutations: {
|
2017-05-26 18:30:40 -04:00
|
|
|
shownChange: (state, shownState) => { state.shown = shownState }
|
2017-05-21 16:43:58 -04:00
|
|
|
},
|
|
|
|
actions: {
|
2017-05-25 20:54:03 -04:00
|
|
|
open({ commit }) { commit('shownChange', true) },
|
|
|
|
close({ commit }) { commit('shownChange', false) }
|
2017-05-21 16:43:58 -04:00
|
|
|
}
|
|
|
|
}
|