mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
Accompanying course: treat vuejs warning by refactoring + delete unused v-model
This commit is contained in:
parent
94729a66ca
commit
229a91ddf0
@ -20,7 +20,6 @@
|
|||||||
<div class="form-check" v-for="p in participationWithoutHousehold" :key="p.id">
|
<div class="form-check" v-for="p in participationWithoutHousehold" :key="p.id">
|
||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
class="form-check-input"
|
class="form-check-input"
|
||||||
v-model="hasNoHousehold"
|
|
||||||
name="persons[]"
|
name="persons[]"
|
||||||
checked="checked"
|
checked="checked"
|
||||||
:id="p.person.id"
|
:id="p.person.id"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<div v-if="accompanyingCourse.requestor && isAnonymous" class="flex-table">
|
<div v-if="accompanyingCourse.requestor && isAnonymous" class="flex-table">
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" v-model="isAnonymous" class="me-2" />
|
<input type="checkbox" v-model="requestorIsAnonymous" class="me-2" />
|
||||||
{{ $t('requestor.is_anonymous') }}
|
{{ $t('requestor.is_anonymous') }}
|
||||||
</label>
|
</label>
|
||||||
<confidential v-if="accompanyingCourse.requestor.type === 'thirdparty'">
|
<confidential v-if="accompanyingCourse.requestor.type === 'thirdparty'">
|
||||||
@ -72,7 +72,7 @@
|
|||||||
|
|
||||||
<div v-else-if="accompanyingCourse.requestor && !isAnonymous" class="flex-table">
|
<div v-else-if="accompanyingCourse.requestor && !isAnonymous" class="flex-table">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" v-model="isAnonymous" class="me-2" />
|
<input type="checkbox" v-model="requestorIsAnonymous" class="me-2" />
|
||||||
{{ $t('requestor.is_anonymous') }}
|
{{ $t('requestor.is_anonymous') }}
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
@ -218,7 +218,7 @@ export default {
|
|||||||
accompanyingCourse() {
|
accompanyingCourse() {
|
||||||
return this.$store.state.accompanyingCourse
|
return this.$store.state.accompanyingCourse
|
||||||
},
|
},
|
||||||
isAnonymous: {
|
requestorIsAnonymous: {
|
||||||
set(value) {
|
set(value) {
|
||||||
this.$store.dispatch('requestorIsAnonymous', value);
|
this.$store.dispatch('requestorIsAnonymous', value);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user