aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row
diff options
context:
space:
mode:
authorArielk <Ariel.Kenan@amdocs.com>2018-12-02 17:05:09 +0200
committerEinav Keidar <einavw@amdocs.com>2018-12-03 09:02:30 +0000
commitc97bae74316ddae5121dc361a7631a8cdaa335b0 (patch)
tree51be281677b9e885ae97a01b7b32bb4cd54ca51d /catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row
parentfb81b5b97b8375ed406e191039a95be9df43445f (diff)
complex types selectable in Operation params
Change-Id: I4ea366e1a9aff6bd0e3b707a292776bfb48b809f Issue-ID: SDC-1968 Signed-off-by: Arielk <Ariel.Kenan@amdocs.com>
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row')
-rw-r--r--catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/param-row/param-row.component.ts5
1 files changed, 2 insertions, 3 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 9bedfa7031..a12425d6e9 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
@@ -50,9 +50,8 @@ export class ParamRowComponent {
_.toArray(dataTypes),
(type: any) => type.name === prop.type
);
- if (!type.properties) {
- flattenedProps.push(prop);
- } else {
+ flattenedProps.push(prop);
+ if (type.properties) {
_.forEach(type.properties, subType => {
if (this.isTypePrimitive(subType.type)) {
flattenedProps.push({