mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 09:07:18 +01:00
Implement warning for closeAll
This commit is contained in:
parent
d275a75517
commit
1950f805b3
3 changed files with 50 additions and 17 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue