Moved isAuthenticated and isLoading to container

This commit is contained in:
Julius Gruber
2019-10-14 16:21:35 +02:00
parent a6ae487ebe
commit c9f92ee7a8
4 changed files with 40 additions and 13 deletions

View File

@@ -1,5 +1,7 @@
<ds-loading *ngIf="(loading | async) || (isAuthenticated | async)" class="m-5"></ds-loading>
<div *ngIf="!(loading | async) && !(isAuthenticated | async)" class="form-login px-4 py-3">
<ng-container *ngFor="let authMethodModel of injectedAuthMethods">
<ds-login-container
[authMethodModel]="authMethodModel"></ds-login-container>
</ng-container>
</div>