Fix: ensure documentDeleted subscription is discarded (#14247)

This commit is contained in:
shamoon authored and GitHub committed 2026-09-23 12:12:26 -07:00
1 parent b457610ffb
commit c9f7f2cfbe
2 files changed
+19 -3

No files matched your search

@@ -270,9 +270,12 @@ export class DocumentListComponent
this.list.reload()
})
this.websocketStatusService.onDocumentDeleted().subscribe(() => {
this.list.reload()
})
this.websocketStatusService
.onDocumentDeleted()
.pipe(takeUntil(this.unsubscribeNotifier))
.subscribe(() => {
this.list.reload()
})
this.route.paramMap
.pipe(