Skip to content

Commit aa16b55

Browse files
aromanovvamontenegro
authored andcommitted
PD-3897 remove edit icon on affiliations added by members
1 parent 50384a0 commit aa16b55

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/app/record/components/affiliation-stack/affiliation-stack.component.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@
5050
<div panel-edit>
5151
<button
5252
mat-icon-button
53-
*ngIf="isPreferred(affiliation) && !isPublicRecord"
53+
*ngIf="
54+
isPreferred(affiliation) &&
55+
userIsSource(affiliation) &&
56+
!isPublicRecord
57+
"
5458
[matTooltip]="tooltipLabelEdit"
5559
[attr.aria-label]="
5660
type

0 commit comments

Comments
 (0)