txt preview #338

This commit is contained in:
jonaswinkler 2021-01-19 16:23:49 +01:00
parent 5e841531be
commit 7834d369c6

View File

@ -142,5 +142,9 @@
<object [data]="previewUrl | safe" type="application/pdf" class="preview-sticky" width="100%"></object>
</ng-template>
</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>