Skip to content

Commit 7ad5f0d

Browse files
authored
PD-3897 remove edit icon on affiliations added by members (#2708)
Co-authored-by: andrej romanov <50377758+auumgn@users.noreply.github.com>
1 parent c29aa39 commit 7ad5f0d

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)