From ffce2fdab1c5f6efff795107ef7756d2e9fdcf57 Mon Sep 17 00:00:00 2001 From: KrupaNagabhushan Date: Wed, 9 Jun 2021 22:11:46 +0100 Subject: Refactor Substitution filters structure The refactor removes unnecessary component id from the substitution filters structure, as the substitution filters belongs to and only to the component. This also avoid any copying issues during the new version creation, as there is not need to update the structure with a new component id. Issue-ID: SDC-3619 Signed-off-by: KrupaNagabhushan Change-Id: Ibcfd9be0c8ceb95d5c1c3bd3f21c3dec26c398f7 --- .../substitution-filter-tab/substitution-filter-tab.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catalog-ui/src/app/ng2/pages/composition') diff --git a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/substitution-filter-tab/substitution-filter-tab.component.ts b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/substitution-filter-tab/substitution-filter-tab.component.ts index 2b5648c27f..c4101ab2bc 100644 --- a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/substitution-filter-tab/substitution-filter-tab.component.ts +++ b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/substitution-filter-tab/substitution-filter-tab.component.ts @@ -71,7 +71,7 @@ export class SubstitutionFilterTabComponent { public loadConstraints = (): void => { this.topologyTemplateService.getSubstitutionFilterConstraints(this.metaData.componentType, this.metaData.uniqueId).subscribe((response) => { - this.componentInstancesConstraints = response.substitutionFilterForTopologyTemplate; + this.componentInstancesConstraints = response.substitutionFilters; }); } -- cgit 1.2.3-korg