[ADF-1663] refreshing process list when a task is completed (#2452)

* [ADF-1663] refreshing process list when a task is completed

* [ADF-1663] added check for process list
This commit is contained in:
Vito
2017-10-11 10:57:09 +01:00
committed by Maurizio Vitale
parent c400d83b34
commit 45db903d49

View File

@@ -366,7 +366,12 @@ export class ActivitiDemoComponent implements AfterViewInit, OnDestroy, OnInit {
this.taskPagination.skipCount -= maxItems;
}
this.taskPage = this.currentPage(this.taskPagination.skipCount, maxItems);
this.taskList.reload();
if (this.taskList) {
this.taskList.reload();
}
if (this.processList) {
this.processList.reload();
}
}
onFormContentClick(content: any): void {