summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages
diff options
context:
space:
mode:
authorimamSidero <imam.hussain@est.tech>2022-08-11 15:50:42 +0100
committerMichael Morris <michael.morris@est.tech>2022-08-12 09:01:12 +0000
commit6bbf79ac50acb21e7e4ceb8c613eb4ecc872aa3d (patch)
tree9b8e9597f021f9a5bcac624962ccfabf49464763 /catalog-ui/src/app/ng2/pages
parentc2ead8ac02672ab9af997272e211b0f0992288a1 (diff)
Hierarchical panel loading with current instance
Type of instance in the if check is corrected Signed-off-by: Imam hussain <imam.hussain@est.tech> Issue-ID: SDC-4126 Change-Id: Ifa62457a32fb1ae1713abc43377186110037d865
Diffstat (limited to 'catalog-ui/src/app/ng2/pages')
-rw-r--r--catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts b/catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts
index 557365592f..893cddd4b9 100644
--- a/catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts
+++ b/catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts
@@ -522,7 +522,7 @@ export class PropertiesAssignmentComponent {
const instancesIds = this.keysPipe.transform(this.instanceFePropertiesMap, []);
const instanceId: string = instancesIds[0];
return <ComponentInstance | GroupInstance | PolicyInstance> this.instances.find(instance =>
- instance.uniqueId == instanceId && instance instanceof ComponentInstance || instance instanceof GroupInstance || instance instanceof PolicyInstance);
+ instance.uniqueId == instanceId && (instance instanceof ComponentInstance || instance instanceof GroupInstance || instance instanceof PolicyInstance));
}
private buildCheckedInstanceProperty(): PropertyBEModel {