Skip to content

Commit 533f56c

Browse files
authored
Merge pull request #2788 from ORCID/amontenegro/PD-4866
PD-4866 Set the visibility object to null if the biography element co…
2 parents fa570ed + f503859 commit 533f56c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/record/components/top-bar/top-bar.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ <h1 class="name" *ngIf="creditName">
188188
[userRecord]="userRecord"
189189
[type]="'top-bar'"
190190
id="biography-panel"
191-
[visibility]="userRecord.biography.visibility.visibility"
191+
[visibility]="userRecord.biography?.biography?.value ? userRecord.biography.visibility.visibility : null"
192192
[editableVisibilityControl]="true"
193193
>
194194
<h2

0 commit comments

Comments
 (0)