Commit d2080629 authored by Chris Hines's avatar Chris Hines
Browse files

remove the login link if there is nothing left to log in to

parent 298612ad
Pipeline #7445 passed with stages
in 2 minutes and 53 seconds
......@@ -47,7 +47,7 @@
<button mat-menu-item routerLink="/logout"><mat-icon>logout</mat-icon>Log out of {{ az.name }}</button>
</div>
<button mat-menu-item routerLink="/settings"><mat-icon>settings</mat-icon>Settings</button>
<button mat-menu-item routerLink="/login"><mat-icon>exit_to_app</mat-icon>Login</button>
<button *ngIf="(authService.loggedOutAuthZ | async).length > 0" mat-menu-item routerLink="/login"><mat-icon>exit_to_app</mat-icon>Login</button>
</mat-menu>
<button mat-icon-button [matMenuTriggerFor]="actionmenu">
<mat-icon>person</mat-icon>
......
Markdown is supported
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