1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00

null check instead

This commit is contained in:
Kyle Spearrin 2018-02-16 11:20:28 -05:00
parent f1db13b1fd
commit c46acc78ce

View File

@ -45,7 +45,7 @@
</div> </div>
</div> </div>
</ng-container> </ng-container>
<div class="box last" *ngIf="!selectedProviderType"> <div class="box last" *ngIf="selectedProviderType == null">
<div class="box-content"> <div class="box-content">
<div class="box-content-row"> <div class="box-content-row">
<p>{{'noTwoStepProviders' | i18n}}</p> <p>{{'noTwoStepProviders' | i18n}}</p>
@ -55,7 +55,7 @@
</div> </div>
<div class="buttons"> <div class="buttons">
<button type="submit" class="btn primary block" [disabled]="form.loading" appBlurClick <button type="submit" class="btn primary block" [disabled]="form.loading" appBlurClick
*ngIf="selectedProviderType && selectedProviderType !== providerType.Duo"> *ngIf="selectedProviderType != null && selectedProviderType !== providerType.Duo">
<span [hidden]="form.loading"><i class="fa fa-sign-in"></i> {{'continue' | i18n}}</span> <span [hidden]="form.loading"><i class="fa fa-sign-in"></i> {{'continue' | i18n}}</span>
<i class="fa fa-spinner fa-spin" [hidden]="!form.loading"></i> <i class="fa fa-spinner fa-spin" [hidden]="!form.loading"></i>
</button> </button>