mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Change: show preview even if metadata fails (#5706)
This commit is contained in:
parent
4855f4b8b1
commit
cd3b1a221e
@ -487,7 +487,7 @@ export class DocumentDetailComponent
|
|||||||
this.metadata = result
|
this.metadata = result
|
||||||
},
|
},
|
||||||
error: (error) => {
|
error: (error) => {
|
||||||
this.metadata = null
|
this.metadata = {} // allow display to fallback to <object> tag
|
||||||
this.toastService.showError(
|
this.toastService.showError(
|
||||||
$localize`Error retrieving metadata`,
|
$localize`Error retrieving metadata`,
|
||||||
error
|
error
|
||||||
|
Loading…
x
Reference in New Issue
Block a user