mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Move a bit sooner
This commit is contained in:
parent
0eebe80626
commit
3c1a83446b
@ -548,6 +548,9 @@ export class DocumentDetailComponent
|
|||||||
this.document = doc
|
this.document = doc
|
||||||
this.requiresPassword = false
|
this.requiresPassword = false
|
||||||
this.updateFormForCustomFields()
|
this.updateFormForCustomFields()
|
||||||
|
if (this.archiveContentRenderType === ContentRenderType.TIFF) {
|
||||||
|
this.tryRenderTiff()
|
||||||
|
}
|
||||||
this.documentsService
|
this.documentsService
|
||||||
.getMetadata(doc.id)
|
.getMetadata(doc.id)
|
||||||
.pipe(
|
.pipe(
|
||||||
@ -561,9 +564,6 @@ export class DocumentDetailComponent
|
|||||||
if (this.archiveContentRenderType !== ContentRenderType.PDF) {
|
if (this.archiveContentRenderType !== ContentRenderType.PDF) {
|
||||||
this.previewLoaded = true
|
this.previewLoaded = true
|
||||||
}
|
}
|
||||||
if (this.archiveContentRenderType === ContentRenderType.TIFF) {
|
|
||||||
this.tryRenderTiff()
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
error: (error) => {
|
error: (error) => {
|
||||||
this.metadata = {} // allow display to fallback to <object> tag
|
this.metadata = {} // allow display to fallback to <object> tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user