Skip to content

Commit 0447c51

Browse files
committed
fix(admin): fix translation of removing manager dialogue
* role tag was not translated properly * resolves CESNET/perun#3855
1 parent bd513c1 commit 0447c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/admin-gui/src/app/shared/components/dialogs/remove-manager-dialog/remove-manager-dialog.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h1 mat-dialog-title>{{'DIALOGS.REMOVE_MANAGERS.TITLE' | translate}}</h1>
1919
<tr *matRowDef="let manager; columns: displayedColumns;" mat-row></tr>
2020
</table>
2121
<perun-web-apps-alert *ngIf="removeSelf" alert_type="warn">
22-
{{'DIALOGS.REMOVE_MANAGERS.WARNING_REMOVE_YOURSELF' | translate: {role: this.data.role | displayedRole} }}
22+
{{'DIALOGS.REMOVE_MANAGERS.WARNING_REMOVE_YOURSELF' | translate: {role: 'ROLES.' + this.data.role | translate} }}
2323
</perun-web-apps-alert>
2424
</div>
2525
<mat-spinner *ngIf="loading" class="mr-auto ml-auto"></mat-spinner>

0 commit comments

Comments
 (0)