From c5c66274f0a8ee22a0726066894b8ac7c13a8f23 Mon Sep 17 00:00:00 2001 From: JvD_Ericsson Date: Wed, 16 Mar 2022 11:36:43 +0000 Subject: Fix instance count not being added correctly to node template Issue-ID: SDC-3919 Signed-off-by: JvD_Ericsson Change-Id: I161561f13d6a28c8c9fbf524a351ed603ba274c8 --- .../panel/panel-tabs/properties-tab/properties-tab.component.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts index b6999e61a9..dc16a12d3e 100644 --- a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts +++ b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts @@ -202,8 +202,7 @@ export class PropertiesTabComponent implements OnInit { _.forEach(this.inputs, (input: InputModel) => { if(input.type === "integer"){ - this.selectInputs.push(new DropdownValue('{' + ToscaGetFunctionType.GET_INPUT.toLowerCase + ":" + input.name + '}', input.name)); - console.log('{' + ToscaGetFunctionType.GET_INPUT.toLowerCase + ":" + input.name + '}', input.name); + this.selectInputs.push(new DropdownValue('{' + ToscaGetFunctionType.GET_INPUT.toLowerCase() + ":" + input.name + '}', input.name)); } }); @@ -298,7 +297,6 @@ export class PropertiesTabComponent implements OnInit { private saveOccurrences = () => { if(this.component instanceof FullComponentInstance && this.isOccurrencesFormValid(this.component)) { - console.log("this.component.instanceCount: " + this.component.instanceCount); this.updateComponentInstance(this.component); } } -- cgit 1.2.3-korg