A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix: always refresh document after save
shamoon6c2468650900
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 db0d16f5a..aea7ca472 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@@ -638,13 +638,17 @@ export class DocumentDetailComponentthis.documentForm.patchValue(docValues)this.store.next(this.documentForm.value)this.openDocumentService.setDirty(this.document, false)+ this.openDocumentService.save()this.toastService.showInfo($localize`Document saved successfully.`)this.networkActive = falsethis.error = null- close &&+ if (close) {this.close(() =>this.openDocumentService.refreshDocument(this.documentId))+ } else {+ this.openDocumentService.refreshDocument(this.documentId)+ }},error: (error) => {this.networkActive = false