refactor: modal-create-page - vue component
This commit is contained in:
@@ -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) },
|
||||
|
Reference in New Issue
Block a user