Fix: ensure documentDeleted subscription is discarded (#14247)

This commit is contained in:
shamoon
2026-09-23 12:12:26 -07:00
committed by GitHub
parent b457610ffb
commit c9f7f2cfbe
2 changed files with 19 additions and 3 deletions
@@ -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(