Skip to content

Commit

Permalink
fix(Projects): Restrict removal of PI via member management
Browse files Browse the repository at this point in the history
  • Loading branch information
vktrrdk committed Oct 19, 2023
1 parent 38c74ca commit 4e89333
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/projectmanagement/overview.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,7 @@ <h3>
*ngIf="
member.isAdmin && userinfo?.MemberId.toString() !== member.memberId.toString() && !member.isPi
"
[disabled]="member?.isPi"
class="btn btn-primary"
style="margin: 2px"
type="button"
Expand All @@ -1073,6 +1074,7 @@ <h3>
(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"
Expand Down

0 comments on commit 4e89333

Please sign in to comment.