Add type attribute to object tag

This commit is contained in:
shamoon 2024-06-12 14:09:48 -07:00
parent 9e8b96cd34
commit 70069cd502

View File

@ -364,7 +364,7 @@
</pdf-viewer> </pdf-viewer>
</div> </div>
} @else { } @else {
<object [data]="previewUrl | safeUrl" class="preview-sticky" width="100%"></object> <object [data]="previewUrl | safeUrl" type="application/pdf" class="preview-sticky" width="100%"></object>
} }
} }
@case (ContentRenderType.Text) { @case (ContentRenderType.Text) {