From 957ed50c820476be752d6c159ff7f308dd05cb31 Mon Sep 17 00:00:00 2001 From: Andreas Coroiu Date: Wed, 15 Feb 2023 09:01:09 +0100 Subject: [PATCH] [EC-1074] fix: block interaction during async action (#4732) The user is able to interact with vault-items while actions like delete are happening. This commit is a temporary fix to disable all interaction surfaces during those async actions. --- .../vault-items.component.html | 23 +++++++++++++++---- .../individual-vault/vault-items.component.ts | 7 ++++++ .../vault/org-vault/vault-items.component.ts | 7 ++++++ 3 files changed, 32 insertions(+), 5 deletions(-) diff --git a/apps/web/src/vault/individual-vault/vault-items.component.html b/apps/web/src/vault/individual-vault/vault-items.component.html index 1da0ca1aaa..1292c95700 100644 --- a/apps/web/src/vault/individual-vault/vault-items.component.html +++ b/apps/web/src/vault/individual-vault/vault-items.component.html @@ -16,6 +16,7 @@ type="checkbox" bitCheckbox id="checkAll" + [disabled]="isProcessingAction" (change)="checkAll($any($event.target).checked)" [(ngModel)]="isAllChecked" /> @@ -33,6 +34,7 @@ @@ -128,6 +132,7 @@ @@ -230,6 +242,7 @@