Skip to content

Commit

Permalink
fix(#9156): fix duplicate name in reports (#9214)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benmuiruri authored Jun 28, 2024
1 parent 7fcdc3e commit 977e90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/ts/components/sender/sender.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<a class="name" *ngIf="!sentBy && getId() && getName(); else noLinkLabel" [routerLink]="[ '/contacts', getId() ]">{{ getName() }}</a>
<ng-template #noLinkLabel>
<span class="name">{{ getName() || ( 'messages.unknown.sender' | translate ) }}</span>
<span class="name" *ngIf="!sentBy || !getName()">{{ getName() || ( 'messages.unknown.sender' | translate ) }}</span>
</ng-template>

<span class="phone" *ngIf="!(message.name && message.name === message.facility?.contact?.phone)">
Expand Down

0 comments on commit 977e90a

Please sign in to comment.