mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3646] refreshing tasklist and process list when a task of a process is completed (#3856)
This commit is contained in:
@@ -270,6 +270,9 @@ export class ProcessServiceComponent implements AfterViewInit, OnDestroy, OnInit
|
||||
} else if (index === PROCESS_ROUTE) {
|
||||
this.showProcessTab = event.index === this.tabs.processes;
|
||||
this.relocateLocationToProcess();
|
||||
if (this.processList) {
|
||||
this.processList.reload();
|
||||
}
|
||||
} else if (index === REPORT_ROUTE) {
|
||||
this.relocateLocationToReport();
|
||||
}
|
||||
@@ -399,6 +402,9 @@ export class ProcessServiceComponent implements AfterViewInit, OnDestroy, OnInit
|
||||
}
|
||||
if (!this.taskList) {
|
||||
this.navigateToProcess();
|
||||
} else {
|
||||
this.taskList.hasCustomDataSource = false;
|
||||
this.taskList.reload();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user