From 572d9b37e571fe3869a97ef57c645d1eb97044bd Mon Sep 17 00:00:00 2001 From: Vito Albano Date: Fri, 11 Nov 2016 01:40:50 +0000 Subject: [PATCH] added get values for process definition id --- .../widgets/dynamic-table/editors/dropdown/dropdown.editor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ng2-components/ng2-activiti-form/src/components/widgets/dynamic-table/editors/dropdown/dropdown.editor.ts b/ng2-components/ng2-activiti-form/src/components/widgets/dynamic-table/editors/dropdown/dropdown.editor.ts index a835b35334..640855ed81 100644 --- a/ng2-components/ng2-activiti-form/src/components/widgets/dynamic-table/editors/dropdown/dropdown.editor.ts +++ b/ng2-components/ng2-activiti-form/src/components/widgets/dynamic-table/editors/dropdown/dropdown.editor.ts @@ -39,7 +39,7 @@ export class DropdownEditorComponent extends CellEditorComponent implements OnIn let field = this.table.field; if (field) { if (this.column.optionType === 'rest') { - if (this.table.form.processDefinitionId) { + if (this.table.form && this.table.form.processDefinitionId) { this.getValuesByProcessDefinitionId(field); } else { this.getValuesByTaskId(field);