mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
bugfix
This commit is contained in:
parent
8b16cd99dc
commit
1b5b07a020
@ -90,7 +90,9 @@ export class AppFrameComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
this.openDocumentsSubscription.unsubscribe()
|
if (this.openDocumentsSubscription) {
|
||||||
|
this.openDocumentsSubscription.unsubscribe()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user