From ebf6610cd05372298e7534bcf4bc1adfc1491f08 Mon Sep 17 00:00:00 2001 From: davidcanonieto Date: Thu, 14 Mar 2019 22:04:35 +0000 Subject: [PATCH] [ADF-4076] Fix redirection to tasks tab on process task click (#4437) --- .../app/components/process-service/process-service.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo-shell/src/app/components/process-service/process-service.component.ts b/demo-shell/src/app/components/process-service/process-service.component.ts index 87994b19fe..87775ae31e 100644 --- a/demo-shell/src/app/components/process-service/process-service.component.ts +++ b/demo-shell/src/app/components/process-service/process-service.component.ts @@ -419,7 +419,7 @@ export class ProcessServiceComponent implements AfterViewInit, OnDestroy, OnInit } relocateLocationToTask(): void { - this.location.go(`/activiti/apps/${this.appId || 0}/tasks/${this.taskFilter.id}`); + this.location.go(`/activiti/apps/${this.appId || 0}/tasks/${this.taskFilter ? this.taskFilter.id : 0}`); } relocateLocationToReport(): void {