Move a bit sooner

This commit is contained in:
shamoon 2024-11-15 08:39:11 -08:00
parent 0eebe80626
commit 3c1a83446b

View File

@ -548,6 +548,9 @@ export class DocumentDetailComponent
this.document = doc
this.requiresPassword = false
this.updateFormForCustomFields()
if (this.archiveContentRenderType === ContentRenderType.TIFF) {
this.tryRenderTiff()
}
this.documentsService
.getMetadata(doc.id)
.pipe(
@ -561,9 +564,6 @@ export class DocumentDetailComponent
if (this.archiveContentRenderType !== ContentRenderType.PDF) {
this.previewLoaded = true
}
if (this.archiveContentRenderType === ContentRenderType.TIFF) {
this.tryRenderTiff()
}
},
error: (error) => {
this.metadata = {} // allow display to fallback to <object> tag