summaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-workflow-designer-ui')
-rw-r--r--sdc-workflow-designer-ui/src/app/services/swagger-tree-converter.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdc-workflow-designer-ui/src/app/services/swagger-tree-converter.service.ts b/sdc-workflow-designer-ui/src/app/services/swagger-tree-converter.service.ts
index b70b0ca5..cda06fdb 100644
--- a/sdc-workflow-designer-ui/src/app/services/swagger-tree-converter.service.ts
+++ b/sdc-workflow-designer-ui/src/app/services/swagger-tree-converter.service.ts
@@ -73,7 +73,7 @@ export class SwaggerTreeConverterService {
if(value.valueSource !== ValueSource[ValueSource.Definition]) {
return value;
} else {
- if(typeof value.value !== 'object') {
+ if(!value.value || typeof value.value !== 'object') {
value.value = {};
}
return value;