options managed by data, not store

This commit is contained in:
2021-05-21 16:22:33 +02:00
parent 4d12796289
commit 68ebd60bc8
2 changed files with 7 additions and 8 deletions

View File

@@ -20,7 +20,6 @@ let initPromise = getAccompanyingCourse(id)
},
state: {
accompanyingCourse: accompanying_course,
socialIssueOptions: [],
errorMsg: []
},
getters: {
@@ -82,10 +81,6 @@ let initPromise = getAccompanyingCourse(id)
updateSocialIssues(state, value) {
state.accompanyingCourse.socialIssues = value;
},
setSocialIssueOptions(state, value) {
console.log('## mutation: setSocialIssueOptions', value);
state.socialIssueOptions = value;
},
confirmAccompanyingCourse(state, response) {
//console.log('### mutation: confirmAccompanyingCourse: response', response);
state.accompanyingCourse.step = response.step;