mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 17:15:02 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
99e4824137 | |||
dacaaea235 |
3
.changes/v3.8.1.md
Normal file
3
.changes/v3.8.1.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## v3.8.1 - 2025-02-05
|
||||||
|
### Fixed
|
||||||
|
* Fix household link in the parcours banner
|
@@ -6,6 +6,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
|||||||
and is generated by [Changie](https://github.com/miniscruff/changie).
|
and is generated by [Changie](https://github.com/miniscruff/changie).
|
||||||
|
|
||||||
|
|
||||||
|
## v3.8.1 - 2025-02-05
|
||||||
|
### Fixed
|
||||||
|
* Fix household link in the parcours banner
|
||||||
|
|
||||||
## v3.8.0 - 2025-02-03
|
## v3.8.0 - 2025-02-03
|
||||||
### Feature
|
### Feature
|
||||||
* Improve the UX of the news item admin form to prevent wrong usage
|
* Improve the UX of the news item admin form to prevent wrong usage
|
||||||
|
@@ -25,10 +25,10 @@
|
|||||||
:class="{ household: pk > -1, 'no-household': pk === -1 }"
|
:class="{ household: pk > -1, 'no-household': pk === -1 }"
|
||||||
:key="h.id"
|
:key="h.id"
|
||||||
>
|
>
|
||||||
<a v-if="pk !== -1" :href="householdLink(h)">
|
<a v-if="pk !== -1" :href="householdLink(pk)">
|
||||||
<i
|
<i
|
||||||
class="fa fa-home fa-fw text-light"
|
class="fa fa-home fa-fw text-light"
|
||||||
:title="$t('persons_associated.show_household_number', { id: h })"
|
:title="$t('persons_associated.show_household_number', { id: pk })"
|
||||||
></i>
|
></i>
|
||||||
</a>
|
</a>
|
||||||
<span v-for="person in persons" class="me-1" :key="person.id">
|
<span v-for="person in persons" class="me-1" :key="person.id">
|
||||||
@@ -87,8 +87,8 @@ export default {
|
|||||||
personsByHousehold() {
|
personsByHousehold() {
|
||||||
const households = new Map();
|
const households = new Map();
|
||||||
this.accompanyingCourse.participations
|
this.accompanyingCourse.participations
|
||||||
.filter((p) => p.endDate === null)
|
.filter((part) => part.endDate === null)
|
||||||
.map((p) => p.person)
|
.map((part) => part.person)
|
||||||
.forEach((person) => {
|
.forEach((person) => {
|
||||||
if (!households.has(person.current_household_id || -1)) {
|
if (!households.has(person.current_household_id || -1)) {
|
||||||
households.set(person.current_household_id || -1, []);
|
households.set(person.current_household_id || -1, []);
|
||||||
|
Reference in New Issue
Block a user