mirror of
https://github.com/bitwarden/browser.git
synced 2024-08-31 00:01:03 +02:00
Fix bug causing duplicate error messages (#1124)
This commit is contained in:
parent
55b27d4607
commit
bbdddcef6e
|
@ -56,7 +56,7 @@
|
|||
</div>
|
||||
<div class="modal-footer">
|
||||
<button #submitBtn type="submit" class="btn btn-primary"
|
||||
[disabled]="loading || submitBtn.loading || readOnly" [appApiAction]="formPromise">
|
||||
[disabled]="loading || submitBtn.loading || readOnly">
|
||||
<i class="fa fa-spinner fa-spin" title="{{'loading' | i18n}}" aria-hidden="true"
|
||||
*ngIf="loading || submitBtn.loading"></i>
|
||||
<span *ngIf="!loading && !submitBtn.loading">{{'save' | i18n}}</span>
|
||||
|
@ -65,8 +65,7 @@
|
|||
data-dismiss="modal">{{'cancel' | i18n}}</button>
|
||||
<div class="ml-auto">
|
||||
<button #deleteBtn type="button" (click)="delete()" class="btn btn-outline-danger"
|
||||
appA11yTitle="{{'delete' | i18n}}" *ngIf="editMode" [disabled]="deleteBtn.loading"
|
||||
[appApiAction]="deletePromise">
|
||||
appA11yTitle="{{'delete' | i18n}}" *ngIf="editMode" [disabled]="deleteBtn.loading">
|
||||
<i class="fa fa-trash-o fa-lg fa-fw" [hidden]="deleteBtn.loading" aria-hidden="true"></i>
|
||||
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!deleteBtn.loading"
|
||||
title="{{'loading' | i18n}}" aria-hidden="true"></i>
|
||||
|
|
Loading…
Reference in New Issue
Block a user