aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2022-03-16 11:36:43 +0000
committerMichael Morris <michael.morris@est.tech>2022-03-21 10:18:02 +0000
commitc5c66274f0a8ee22a0726066894b8ac7c13a8f23 (patch)
tree5c4aa764a85a4f9ed1ffe6a9b5727297b8890c22 /catalog-ui
parent3a14886c38d5314042dc4f1be7520237942c20f2 (diff)
Fix instance count not being added correctly to node template
Issue-ID: SDC-3919 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I161561f13d6a28c8c9fbf524a351ed603ba274c8
Diffstat (limited to 'catalog-ui')
-rw-r--r--catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts4
1 files changed, 1 insertions, 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);
}
}