Skip to content
Snippets Groups Projects
Commit ad197a6a authored by Chris Hines's avatar Chris Hines
Browse files

remove a js error when a variable is not initialised

parent 84f74682
No related branches found
No related tags found
2 merge requests!21New css dev,!16Dev
Pipeline #7739 passed
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment