From aa0627fa38d6a1555150db055691a215052364ed Mon Sep 17 00:00:00 2001 From: aj-rosado <109146700+aj-rosado@users.noreply.github.com> Date: Thu, 16 May 2024 15:39:31 +0100 Subject: [PATCH] [AC-1603] Hide vault selector at Admin Console's import (#8750) * Hide vault selector at Admin Console's import * removed duplicated disable --- libs/importer/src/components/import.component.html | 2 +- libs/importer/src/components/import.component.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/importer/src/components/import.component.html b/libs/importer/src/components/import.component.html index 836a1d9a1a..eda999ab47 100644 --- a/libs/importer/src/components/import.component.html +++ b/libs/importer/src/components/import.component.html @@ -2,7 +2,7 @@ {{ "personalOwnershipPolicyInEffectImports" | i18n }}
- + {{ "importDestination" | i18n }} (); private _importBlockedByPolicy = false; - private _isFromAC = false; + protected isFromAC = false; formGroup = this.formBuilder.group({ vaultSelector: [ @@ -232,7 +232,7 @@ export class ImportComponent implements OnInit, OnDestroy { .then((collections) => collections.sort(Utils.getSortFunction(this.i18nService, "name"))), ); - this._isFromAC = true; + this.isFromAC = true; } private handleImportInit() { @@ -359,7 +359,7 @@ export class ImportComponent implements OnInit, OnDestroy { importContents, this.organizationId, this.formGroup.controls.targetSelector.value, - (await this.canAccessImportExport(this.organizationId)) && this._isFromAC, + (await this.canAccessImportExport(this.organizationId)) && this.isFromAC, ); //No errors, display success message