[ADF-2118] Process Initiator should be able to complete a task (#2951)

* [ADF-2118] Process Initiator should be able to complete a task.

* Fixed Process Initiator should be able to complete a task.

* * Fixed Process Initiator should be able to complete a task.

* * Removed extra space
This commit is contained in:
siva kumar
2018-02-15 15:48:41 +05:30
committed by Eugenio Romano
parent 6f81d7729e
commit f828e8e847
3 changed files with 24 additions and 2 deletions

View File

@@ -369,12 +369,18 @@ export class ProcessServiceComponent implements AfterViewInit, OnDestroy, OnInit
this.taskPage = this.taskListPagination.current - 1;
if (this.taskList) {
this.taskList.reload();
} else {
this.navigateToProcess();
}
if (this.processList) {
this.processList.reload();
}
}
navigateToProcess(): void {
this.router.navigate([`/activiti/apps/${this.appId}/processes/`]);
}
onContentClick(content: any): void {
this.fileShowed = true;
this.content = content.contentBlob;