Merge branch 'dev' into fix-custom-field-extra-inclusion
This commit is contained in:
commit
0862b80605
@ -35,6 +35,8 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||
private permissionsService: PermissionsService,
|
||||
private hotKeyService: HotKeyService
|
||||
) {
|
||||
let anyWindow = window as any
|
||||
anyWindow.pdfWorkerSrc = 'assets/js/pdf.worker.min.js'
|
||||
this.settings.updateAppearanceSettings()
|
||||
}
|
||||
|
||||
|
@ -364,7 +364,7 @@
|
||||
</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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user