Skip to content

Commit

Permalink
fix: Hide reorder button from non-managers
Browse files Browse the repository at this point in the history
  • Loading branch information
romeonicholas committed Nov 13, 2023
1 parent e03be92 commit 0a52d2d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ <h2>Models</h2>
<mat-icon id="add-icon">add</mat-icon>
</a>
<button
*ngIf="models !== undefined && models.length > 1"
*ngIf="
models !== undefined &&
models.length > 1 &&
projectUserService.verifyRole('manager')
"
mat-stroked-button
class="!ml-4"
(click)="openReorderModelsDialog(models)"
Expand Down

0 comments on commit 0a52d2d

Please sign in to comment.