diff --git a/.changes/unreleased/Fixed-20250205-180916.yaml b/.changes/unreleased/Fixed-20250205-180916.yaml new file mode 100644 index 000000000..26b55702b --- /dev/null +++ b/.changes/unreleased/Fixed-20250205-180916.yaml @@ -0,0 +1,6 @@ +kind: Fixed +body: Fix household link in the parcours banner +time: 2025-02-05T18:09:16.862642565+01:00 +custom: + Issue: "" + SchemaChange: No schema change diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/Banner/PersonsAssociated.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/Banner/PersonsAssociated.vue index c578402b3..2e084f72f 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/Banner/PersonsAssociated.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/Banner/PersonsAssociated.vue @@ -25,10 +25,10 @@ :class="{ household: pk > -1, 'no-household': pk === -1 }" :key="h.id" > - + @@ -87,8 +87,8 @@ export default { personsByHousehold() { const households = new Map(); this.accompanyingCourse.participations - .filter((p) => p.endDate === null) - .map((p) => p.person) + .filter((part) => part.endDate === null) + .map((part) => part.person) .forEach((person) => { if (!households.has(person.current_household_id || -1)) { households.set(person.current_household_id || -1, []);