Fix: complete load with native PDF viewer (#8699)

This commit is contained in:
shamoon authored and GitHub committed 2025-01-13 09:53:39 -08:00
1 parent 5c1039d07d
commit 1d5e7e930e
2 files changed
+40 -37

No files matched your search

@@ -620,7 +620,10 @@ export class DocumentDetailComponent
.subscribe({
next: (result) => {
this.metadata = result
if (this.archiveContentRenderType !== ContentRenderType.PDF) {
if (
this.archiveContentRenderType !== ContentRenderType.PDF ||
this.useNativePdfViewer
) {
this.previewLoaded = true
}
},