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