Skip to content

Commit

Permalink
fix error (#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbritense authored Dec 20, 2024
1 parent 1474818 commit 4c05cbb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ export class TaskDetailContentComponent implements OnInit, OnDestroy {
this.resetTaskProcessLinkType();
this.resetFormDefinition();

this.taskInstanceId$.next(task.id);

if (!processLink) {
this.getTaskProcessLink(task.id);
} else {
Expand All @@ -233,7 +235,6 @@ export class TaskDetailContentComponent implements OnInit, OnDestroy {
this.stateService.setDocumentId(documentId);

this.task$.next(task);
this.taskInstanceId$.next(task.id);
this.page$.next({
title: task.name,
subtitle: `${this.translateService.instant('taskDetail.taskCreated')} ${task.created}`,
Expand Down

0 comments on commit 4c05cbb

Please sign in to comment.