aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src
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 10:06:43 +0300
commit7b9415d18d42329ac46c506e5728689b2cce01e3 (patch)
tree682f3965759d81b38ceb4877bb879f47ba9e34c9 /catalog-ui/src
parent170c00339b660025266affe31b5519ae5635ebb7 (diff)
fix bug [SDC-2316] - Unable to select a type from Operation screen when using Capabilities Properties
Change-Id: I3ceb94e5b927c48794d9a51b1a1c3c32d0457d45 Issue-ID: SDC-2316 Signed-off-by: miriame <miriam.eini@amdocs.com>
Diffstat (limited to 'catalog-ui/src')
-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
)