mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
Metadata error use new error toast
This commit is contained in:
parent
a436caf2ad
commit
b9a548758a
1 changed files with 3 additions and 1 deletions
|
|
@ -374,7 +374,9 @@ export class DocumentDetailComponent
|
|||
error: (error) => {
|
||||
this.metadata = null
|
||||
this.toastService.showError(
|
||||
$localize`Error retrieving metadata` + ': ' + error.toString()
|
||||
$localize`Error retrieving metadata`,
|
||||
10000,
|
||||
error
|
||||
)
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue