mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Implement warning for closeAll
This commit is contained in:
@@ -136,6 +136,9 @@ export class DocumentDetailComponent implements OnInit, DirtyComponent {
|
||||
|
||||
// Initialize dirtyCheck
|
||||
this.isDirty$ = dirtyCheck(this.documentForm, this.store.asObservable())
|
||||
this.isDirty$.subscribe(dirty => {
|
||||
this.openDocumentService.setDirty(this.document.id, dirty)
|
||||
})
|
||||
}
|
||||
|
||||
createDocumentType() {
|
||||
|
Reference in New Issue
Block a user