From ab9e21695465629b1aef32aa92f36c7f6b8e5d34 Mon Sep 17 00:00:00 2001 From: miriame Date: Mon, 20 May 2019 09:39:06 +0300 Subject: 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 --- .../operation-creator/param-row/param-row.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'catalog-ui/src/app/ng2/pages/interface-operation/operation-creator') 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 ) -- cgit 1.2.3-korg