Skip to content

Commit

Permalink
fix(synthese) change variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Narcisi committed Jun 11, 2024
1 parent 3e174e7 commit f126bf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ <h4 class="mr-auto gn-color">
<td>
<ul>
<li *ngFor="let actor of selectedObs?.dataset.cor_dataset_actor">
{{ actor.display }}
{{ actor.display_name }}
</li>
</ul>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ export class SyntheseInfoObsComponent implements OnInit, OnChanges {
const date_max = new Date(this.selectedObs.date_max);
this.selectedObs.date_max = date_max.toLocaleDateString('fr-FR');
for (let actor of this.selectedObs.dataset.cor_dataset_actor) {
if (actor.role) actor.display = actor.role.nom_complet;
else if (actor.organism) actor.display = actor.organism.nom_organisme;
if (actor.role) actor.display_name = actor.role.nom_complet;
else if (actor.organism) actor.display_name = actor.organism.nom_organisme;
}

const areaDict = {};
Expand Down

0 comments on commit f126bf4

Please sign in to comment.