fix form create + WIP form edit for Accompanying Period Work

This commit is contained in:
2021-06-22 22:59:34 +02:00
parent 1cd376bf86
commit 0754d20622
13 changed files with 449 additions and 20 deletions

View File

@@ -13,8 +13,7 @@
</div>
<div v-if="hasSocialIssuePicked">
<h2>{{ $t('pick_an_action') }}</h2>
<h2>{{ $t('pick_an_action') }}</h2>
<vue-multiselect
v-model="socialActionPicked"
label="text"

View File

@@ -38,7 +38,7 @@ const store = createStore({
buildPayloadCreate(state) {
let payload = {
type: 'accompanying_period_work',
social_action: {
socialAction: {
type: 'social_work_social_action',
id: state.socialActionPicked.id
},
@@ -144,9 +144,6 @@ const store = createStore({
commit('addErrors', { errors, cancel_posting: true });
}
});
},
},