Skip to content

Commit

Permalink
Bug fix for topbar menu when an SuperUser on non-admin team (#597)
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-chershberger authored Mar 3, 2023
1 parent e5938c1 commit 46df5b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/components/shared/top-bar/topbar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@
<mat-menu #menu="matMenu" [overlapTrigger]="false">
<div fxLayout="row" fxLayoutAlign="start center">
<button
*ngIf="team && team.canManage"
*ngIf="(team && team.canManage) || (team && currentUser.profile.isSystemAdmin !== null &&
currentUser.profile.isSystemAdmin)"
(click)="editFn($event)"
[ngClass]="(currentUser.profile.isSystemAdmin !== null &&
currentUser.profile.isSystemAdmin) ? big-button : ''"
Expand Down

0 comments on commit 46df5b8

Please sign in to comment.