From 8e3563c109e9b3e418d7d7efb70632c18851d34c Mon Sep 17 00:00:00 2001 From: Viktor Rudko <43116821+vktrrdk@users.noreply.github.com> Date: Thu, 19 Oct 2023 14:58:08 +0200 Subject: [PATCH] fix(Projects): Restrict removal of PI via member management (#5923) --- src/app/projectmanagement/overview.component.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/projectmanagement/overview.component.html b/src/app/projectmanagement/overview.component.html index 69b8c7cd7f..8846893e91 100644 --- a/src/app/projectmanagement/overview.component.html +++ b/src/app/projectmanagement/overview.component.html @@ -1063,6 +1063,7 @@

*ngIf=" member.isAdmin && userinfo?.MemberId.toString() !== member.memberId.toString() && !member.isPi " + [disabled]="member?.isPi" class="btn btn-primary" style="margin: 2px" type="button" @@ -1073,6 +1074,7 @@

(click)="removeMember(member.memberId, member.userName); notificationModal.show()" *ngIf="userinfo?.MemberId.toString() !== member.memberId.toString()" [id]="'remove_member_' + member.userName" + [disabled]="member?.isPi" class="btn btn-danger" style="margin: 2px" type="button"