Fix check taskList exist (#2375)

This commit is contained in:
Maurizio Vitale 2017-09-26 15:35:27 +01:00 committed by Eugenio Romano
parent 66cd368c52
commit 17d0525c24

View File

@ -411,8 +411,10 @@ export class ActivitiDemoComponent implements AfterViewInit, OnDestroy, OnInit {
created: event.value.created
});
this.activitifilter.selectFilter(null);
if (this.taskList) {
this.taskList.setCustomDataSource([processTaskDataRow]);
this.taskList.selectTask(taskId);
}
this.currentTaskId = taskId;
}