Skip to content

Commit

Permalink
Merge pull request #3353 from MTES-MCT/hotfix/3350-null-prenom
Browse files Browse the repository at this point in the history
[BO - Liste signalement] Correction quand le prénom de l'occupant est null, mais pas le nom
  • Loading branch information
numew authored Nov 29, 2024
2 parents b31b44b + f372046 commit 7e9cca8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="fr-card__content">
<div class="fr-grid-row">
<div class="fr-col-xl-8 fr-col-lg-6 fr-col-12">
<h3 class="fr-card__title fr-my-1v">#{{ item.reference }} - {{ item.nomOccupant && item.nomOccupant.toUpperCase() + ' ' + item.prenomOccupant }}</h3>
<h3 class="fr-card__title fr-my-1v">#{{ item.reference }} - {{ (item.nomOccupant ? item.nomOccupant.toUpperCase() : '') + ' ' + (item.prenomOccupant !== null ? item.prenomOccupant : '') }}</h3>
<p class="fr-my-1v fr-text--bold fr-text--lg">{{ item.adresseOccupant }}, {{ item.codepostalOccupant }} {{ item.villeOccupant }}</p>
</div>
<div class="fr-col-xl-4 fr-col-lg-6 fr-col-12">
Expand Down

0 comments on commit 7e9cca8

Please sign in to comment.