From aac33d32b8c63059acfea13025609fc215aaaa38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rui=20Tom=C3=A9?= <108268980+r-tome@users.noreply.github.com> Date: Tue, 8 Nov 2022 17:35:15 +0000 Subject: [PATCH] [EC-650] Revert observable usage from ImportComponent (#4010) --- .../tools/import-export/import.component.html | 12 +++++------ .../tools/import-export/import.component.ts | 21 +++++++------------ 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/apps/web/src/app/tools/import-export/import.component.html b/apps/web/src/app/tools/import-export/import.component.html index 5a9dacc3f3..26d820b518 100644 --- a/apps/web/src/app/tools/import-export/import.component.html +++ b/apps/web/src/app/tools/import-export/import.component.html @@ -1,7 +1,7 @@ - + {{ "personalOwnershipPolicyInEffectImports" | i18n }}
@@ -14,7 +14,7 @@ name="Format" [(ngModel)]="format" class="form-control" - [disabled]="importBlockedByPolicy$ | async" + [disabled]="importBlockedByPolicy" required > @@ -296,7 +296,7 @@ id="file" class="form-control-file" name="file" - [disabled]="importBlockedByPolicy$ | async" + [disabled]="importBlockedByPolicy" /> @@ -308,14 +308,14 @@ class="form-control" name="FileContents" [(ngModel)]="fileContents" - [disabled]="importBlockedByPolicy$ | async" + [disabled]="importBlockedByPolicy" >