Merge pull request #800 from Alfresco/dev-mvitale-776

Automatically open the new task when the task is completed
This commit is contained in:
Mario Romano
2016-09-23 10:54:24 +02:00
committed by GitHub
8 changed files with 196 additions and 45 deletions

View File

@@ -153,7 +153,7 @@ export class ActivitiTaskList implements OnInit, OnChanges {
/**
* Select the first task of a tasklist if present
*/
private selectFirstTask() {
selectFirstTask() {
if (!this.isTaskListEmpty()) {
this.currentTaskId = this.data.getRows()[0].getValue('id');
} else {