aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiriame <miriam.eini@amdocs.com>2019-05-20 09:39:06 +0300
committermiriame <miriam.eini@amdocs.com>2019-05-20 09:39:06 +0300
commitab9e21695465629b1aef32aa92f36c7f6b8e5d34 (patch)
treecae071e985bb3a99bd10fea556781d30395fc90f
parent52c6fb010eee08dee5f09f4f57823d49f6471646 (diff)
fix bug [SDC-2316] - Unable to select a type from Operation screen when using Capabilities Properties
Change-Id: Ie9ad5034fc3f2ef2ae9038d05e2a56f9c78ac1d6 Issue-ID: SDC-2316 Signed-off-by: miriame <miriam.eini@amdocs.com>
-rw-r--r--catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.ts b/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.ts
index c18fb82094..d32edc78af 100644
--- a/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.ts
+++ b/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.ts
@@ -47,7 +47,11 @@ export class ParamRowComponent {
_.reduce(
this.operationOutputs,
(acc, op) => [...acc, ...op.outputs.listToscaDataDefinition],
- [])
+ []),
+ _.reduce(
+ this.capabilitiesProps,
+ (acc, capab) => [...acc, ...capab.properties],
+ [])
),
prop => prop.type
)