update (end of the main panel feature I think)

This commit is contained in:
Matthieu Bessat 2020-07-15 15:21:53 +02:00
parent 4791bd8037
commit 79a24f6ae7
15 changed files with 814 additions and 71 deletions

View file

@ -11,6 +11,7 @@ export default new Vuex.Store({
enabled: false
},
title: '',
tags: [],
data: {
name: '',
descriptionShort: '',
@ -31,7 +32,9 @@ export default new Vuex.Store({
email: '',
phone: ''
}
}
},
delegateAdminName: '',
delegateEmail: ''
},
mutations: {
SET_TITLE (state, payload) {
@ -51,6 +54,15 @@ export default new Vuex.Store({
if (payload !== null) {
state.data = { ...state.data, ...payload }
}
},
SET_TAGS (state, payload) {
state.tags = payload
},
SET_DELEGATE_ADMIN_NAME (state, payload) {
state.delegateAdminName = payload
},
SET_DELEGATE_EMAIL (state, payload) {
state.delegateEmail = payload
}
},
actions: {