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