summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages
diff options
context:
space:
mode:
authormiriame <miriam.eini@amdocs.com>2019-05-28 12:01:44 +0300
committermiriame <miriam.eini@amdocs.com>2019-05-28 12:01:44 +0300
commit12a14459a87d1f5dc766457d125d04e320c8f9a9 (patch)
tree6df15e7096617dcb0e447d0e49f1b68921475faf /catalog-ui/src/app/ng2/pages
parentd6b413c5036eabae4ba0948cebe3e6968af31ddb (diff)
fix bug [SDC-2336] - Service dependency - Can't select sibling property when sibling node is not service proxy
Change-Id: Ife353a3fcf254dbedc60435adf56e372fe84ff36 Issue-ID: SDC-2336 Signed-off-by: miriame <miriam.eini@amdocs.com>
Diffstat (limited to 'catalog-ui/src/app/ng2/pages')
-rw-r--r--catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts b/catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts
index db5e7a9a31..cdef018b84 100644
--- a/catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts
+++ b/catalog-ui/src/app/ng2/pages/service-dependencies-editor/service-dependencies-editor.component.ts
@@ -170,7 +170,7 @@ export class ServiceDependenciesEditorComponent {
return;
}
this.listOfValuesToAssign = this.listOfSourceOptions.reduce((result, op:PropertyBEModel) => {
- if(op.type === this.selectedPropertyObj.type && op.schemaType === this.selectedPropertyObj.schemaType) {
+ if (op.type === this.selectedPropertyObj.type && (!op.schemaType || op.schemaType === this.selectedPropertyObj.schemaType)) {
result.push(new DropdownValue(op.name, op.name));
}
return result;