Skip to content

Commit

Permalink
fix public record email visibility icon logic
Browse files Browse the repository at this point in the history
  • Loading branch information
auumgn committed Jul 22, 2024
1 parent 8f8a558 commit 3483348
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/cdk/side-bar/side-bar/side-bar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ <h3 header class="orc-font-body" i18n="@@shared.emails">Emails</h3>
<app-panel-element
*ngFor="let email of userRecord.emails.emails; let last = last"
[visibility]="
!isPublicRecord && email.visibility && email.verified
? email.visibility
: 'PRIVATE'
isPublicRecord ? '' : email.verified ? email.visibility : 'PRIVATE'
"
[bold]="email.primary"
[isPublicRecord]="isPublicRecord"
Expand Down

0 comments on commit 3483348

Please sign in to comment.