mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 00:57:09 +01:00
Add type attribute to object tag
This commit is contained in:
parent
9e8b96cd34
commit
70069cd502
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue