dont show continue button on u2f

This commit is contained in:
Kyle Spearrin 2018-07-30 21:46:03 -04:00
parent eed155c13b
commit 6d381e0e34
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,8 @@
<div class="right">
<button type="submit" appBlurClick [disabled]="form.loading"
*ngIf="selectedProviderType != null && selectedProviderType !== providerType.Duo &&
selectedProviderType !== providerType.OrganizationDuo">
selectedProviderType !== providerType.OrganizationDuo &&
(selectedProviderType !== providerType.U2f || form.loading)">
<span [hidden]="form.loading">{{'continue' | i18n}}</span>
<i class="fa fa-spinner fa-lg fa-spin" [hidden]="!form.loading"></i>
</button>