From 502c354da7b9f649d3b9e6a00c159a2ad53e7b1f Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Mon, 16 Aug 2021 17:08:17 +0100 Subject: Select a Model when Importing a VSP Change-Id: I7537af4c7279636de7e450ec398210ace376eade Issue-ID: SDC-3670 Signed-off-by: andre.schmid --- catalog-ui/src/app/ng2/services/onboarding.service.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'catalog-ui/src/app/ng2') diff --git a/catalog-ui/src/app/ng2/services/onboarding.service.ts b/catalog-ui/src/app/ng2/services/onboarding.service.ts index 51a7fc4c7f..638603f94a 100644 --- a/catalog-ui/src/app/ng2/services/onboarding.service.ts +++ b/catalog-ui/src/app/ng2/services/onboarding.service.ts @@ -112,6 +112,7 @@ export class OnboardingService { newMetadata.csarUUID = csar.packageId; newMetadata.csarPackageType = csar.packageType; newMetadata.csarVersion = csar.version; + newMetadata.csarVersionId = csar.versionId; newMetadata.packageId = csar.packageId; newMetadata.description = csar.description; newMetadata.selectedCategory = selectedCategory && selectedSubCategory ? selectedCategory.name + "_#_" + selectedSubCategory.name : ''; @@ -121,6 +122,7 @@ export class OnboardingService { newMetadata.tags = []; newMetadata.icon = DEFAULT_ICON; newMetadata.iconSprite = "sprite-resource-icons"; + newMetadata.models = csar.models; return newMetadata; }; -- cgit 1.2.3-korg