Skip to content
Snippets Groups Projects
Commit d4c7e590 authored by Lukas Mauß's avatar Lukas Mauß Committed by Tom Käsler
Browse files

Set 'Guest' as name instead of guest-user-id

parent cff6e2bb
No related merge requests found
...@@ -23,7 +23,8 @@ ...@@ -23,7 +23,8 @@
</mat-menu> </mat-menu>
<button *ngIf="user" mat-button [matMenuTriggerFor]="appMenu"> <button *ngIf="user" mat-button [matMenuTriggerFor]="appMenu">
<mat-icon>account_box</mat-icon> <mat-icon>account_box</mat-icon>
<span>{{user.loginId}}</span> <span *ngIf="user.isGuest; else elseBlock">Guest</span>
<ng-template #elseBlock>{{user.loginId}}</ng-template>
</button> </button>
</mat-toolbar-row> </mat-toolbar-row>
</mat-toolbar> </mat-toolbar>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment