A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
txt preview #338
jonaswinkler7834d369c67a
diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.htmlindex 253d5b167..639b9e260 100644--- a/src-ui/src/app/components/document-detail/document-detail.component.html+++ b/src-ui/src/app/components/document-detail/document-detail.component.html@@ -141,6 +141,10 @@<ng-template #nativePdfViewer><object [data]="previewUrl | safe" type="application/pdf" class="preview-sticky" width="100%"></object></ng-template>- </ng-container>+ </ng-container>+ <ng-container *ngIf="getContentType() == 'text/plain'">+ <object [data]="previewUrl | safe" type="text/plain" class="preview-sticky" width="100%"></object>+ </ng-container>+</div></div>