A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
fixes bug with the + button
Jonas Winklerb14fd52b8b4b
diff --git a/src-ui/src/app/components/common/input/tags/tags.component.ts b/src-ui/src/app/components/common/input/tags/tags.component.tsindex 7b5a36e90..dd57d8e50 100644--- a/src-ui/src/app/components/common/input/tags/tags.component.ts+++ b/src-ui/src/app/components/common/input/tags/tags.component.ts@@ -86,7 +86,7 @@ export class TagsComponent implements OnInit, ControlValueAccessor {var modal = this.modalService.open(TagEditDialogComponent, {backdrop: 'static'})modal.componentInstance.dialogMode = 'create'modal.componentInstance.success.subscribe(newTag => {- this.tagService.list().subscribe(tags => {+ this.tagService.listAll().subscribe(tags => {this.tags = tags.resultsthis.addTag(newTag.id)})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 802a3b212..634b28613 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@@ -89,7 +89,7 @@ export class DocumentDetailComponent implements OnInit {var modal = this.modalService.open(DocumentTypeEditDialogComponent, {backdrop: 'static'})modal.componentInstance.dialogMode = 'create'modal.componentInstance.success.subscribe(newDocumentType => {- this.documentTypeService.list().subscribe(documentTypes => {+ this.documentTypeService.listAll().subscribe(documentTypes => {this.documentTypes = documentTypes.resultsthis.documentForm.get('document_type_id').setValue(newDocumentType.id)})@@ -100,7 +100,7 @@ export class DocumentDetailComponent implements OnInit {var modal = this.modalService.open(CorrespondentEditDialogComponent, {backdrop: 'static'})modal.componentInstance.dialogMode = 'create'modal.componentInstance.success.subscribe(newCorrespondent => {- this.correspondentService.list().subscribe(correspondents => {+ this.correspondentService.listAll().subscribe(correspondents => {this.correspondents = correspondents.resultsthis.documentForm.get('correspondent_id').setValue(newCorrespondent.id)})