mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-21 22:16:44 +01:00
cleanup subscriptions
This commit is contained in:
parent
d9cd312d07
commit
e1a36972b1
5 changed files with 57 additions and 57 deletions
|
|
@ -23,7 +23,7 @@ export class DirtyFormGuard extends DirtyCheckGuard {
|
|||
modal.close()
|
||||
})
|
||||
const subject = new Subject<boolean>()
|
||||
modal.componentInstance.subject = subject
|
||||
modal.componentInstance.confirmSubject = subject
|
||||
return subject.asObservable()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue