refactor: modal-create-page - vue component

This commit is contained in:
NGPixel
2017-05-26 18:30:40 -04:00
parent 25edd663de
commit 62e7ea5b2b
2 changed files with 10 additions and 14 deletions

View File

@@ -3,14 +3,11 @@
export default {
namespaced: true,
state: {
entrypath: '',
shown: false,
invalid: false
shown: false
},
getters: {},
mutations: {
shownChange: (state, shownState) => { state.shown = shownState },
pathChange: (state, newpath) => { state.entrypath = newpath }
shownChange: (state, shownState) => { state.shown = shownState }
},
actions: {
open({ commit }) { commit('shownChange', true) },