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 permissionsService: PermissionsService,
|
||||||
private hotKeyService: HotKeyService
|
private hotKeyService: HotKeyService
|
||||||
) {
|
) {
|
||||||
|
let anyWindow = window as any
|
||||||
|
anyWindow.pdfWorkerSrc = 'assets/js/pdf.worker.min.js'
|
||||||
this.settings.updateAppearanceSettings()
|
this.settings.updateAppearanceSettings()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user