Skip to content

Commit

Permalink
Add edit user option in participant list (#4501)
Browse files Browse the repository at this point in the history
  • Loading branch information
anbebe authored Jan 6, 2025
1 parent ea06ea7 commit c98efda
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,11 @@ <h2>{{ 'Participants' | translate }}</h2>
<span>{{ 'Edit details' | translate }}</span>
</button>

<button *osPerms="permission.userCanUpdate" mat-menu-item [routerLink]="user.id">
<mat-icon>edit</mat-icon>
<span>{{ 'Edit user' | translate }}</span>
</button>

<button *osPerms="permission.userCanUpdate" mat-menu-item (click)="switchParticipants(user)">
<mat-icon>swap_horiz</mat-icon>
<span>{{ 'Swap mandates' | translate }}</span>
Expand Down

0 comments on commit c98efda

Please sign in to comment.