From facec317ef46e5289a53aeaae444b332c5da7bc4 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 7 Oct 2024 07:25:52 -0700 Subject: [PATCH] Fix: fix auto-dismiss completed tasks on open document (#7869) --- src-ui/src/app/services/tasks.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-ui/src/app/services/tasks.service.ts b/src-ui/src/app/services/tasks.service.ts index ed14c8071..e2c064e03 100644 --- a/src-ui/src/app/services/tasks.service.ts +++ b/src-ui/src/app/services/tasks.service.ts @@ -67,7 +67,7 @@ export class TasksService { .post(`${this.baseUrl}acknowledge_tasks/`, { tasks: [...task_ids], }) - .pipe(takeUntil(this.unsubscribeNotifer), first()) + .pipe(first()) .subscribe((r) => { this.reload() })