A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix: intermittent save & close warnings in v2.5.3 (#5838)
shamoon4948438378e0
diff --git a/src-ui/src/app/components/document-detail/document-detail.component.ts b/src-ui/src/app/components/document-detail/document-detail.component.tsindex 6630f0ad6..4eae47615 100644--- a/src-ui/src/app/components/document-detail/document-detail.component.ts+++ b/src-ui/src/app/components/document-detail/document-detail.component.ts@@ -634,11 +634,14 @@ export class DocumentDetailComponent// in case data changed while saving eg removing inbox_tagsthis.documentForm.patchValue(docValues)this.store.next(this.documentForm.value)+ this.openDocumentService.setDirty(this.document, false)this.toastService.showInfo($localize`Document saved successfully.`)- close && this.close()this.networkActive = falsethis.error = null- this.openDocumentService.refreshDocument(this.documentId)+ close &&+ this.close(() =>+ this.openDocumentService.refreshDocument(this.documentId)+ )},error: (error) => {this.networkActive = false@@ -693,12 +696,13 @@ export class DocumentDetailComponent})}- close() {+ close(closedCallback: () => void = null) {this.openDocumentService.closeDocument(this.document).pipe(first()).subscribe((closed) => {if (!closed) return+ if (closedCallback) closedCallback()if (this.documentListViewService.activeSavedViewId) {this.router.navigate(['view',