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

remove a js error when a variable is not initialised

parent 84f74682
Pipeline #7739 passed with stages
in 3 minutes and 2 seconds
......@@ -28,7 +28,7 @@
</div>
<div fxLayout="row" fxLayoutAlign="space-around center" style="width: 100%">
<button mat-flat-button (click)="login()" color=primary style="width: 25%; text-align: center">Login</button>
<button *ngIf="(authService.loggedInAuthZ | async).length > 0" mat-flat-button routerLink="/launch" color=warn style="width: 25%; text-align: center">Cancel</button>
<button *ngIf="(authService.loggedInAuthZ | async) != null && (authService.loggedInAuthZ | async).length > 0" mat-flat-button routerLink="/launch" color=warn style="width: 25%; text-align: center">Cancel</button>
</div>
<div *ngIf="selected !== undefined" [innerHTML]="selected.desc">
</div>
......
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