mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
Change: show preview even if metadata fails (#5706)
This commit is contained in:
parent
4855f4b8b1
commit
cd3b1a221e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue