]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Add type attribute to object tag
authorshamoon <4887959+shamoon@users.noreply.github.com>
Wed, 12 Jun 2024 21:09:48 +0000 (14:09 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Wed, 12 Jun 2024 21:09:48 +0000 (14:09 -0700)
src-ui/src/app/components/document-detail/document-detail.component.html

index 8486e181676662659e063f2e48c73c5f47530b6f..677596d8fa692c3e198040c097e5d0c5bf4a6709 100644 (file)
             </pdf-viewer>
           </div>
         } @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) {