1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-29 11:22:30 +01:00

only show disable all keys if enabled

This commit is contained in:
Kyle Spearrin 2018-07-18 12:42:06 -04:00
parent de8e2d1be7
commit 19fa769bd3

View File

@ -59,7 +59,7 @@
<span>{{'save' | i18n}}</span>
</button>
<button #disableBtn type="button" class="btn btn-outline-secondary btn-submit" [appApiAction]="disablePromise" [disabled]="disableBtn.loading"
(click)="disable()">
(click)="disable()" *ngIf="enabled">
<i class="fa fa-spinner fa-spin" title="{{'loading' | i18n}}"></i>
<span>{{'disableAllKeys' | i18n}}</span>
</button>