mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Metadata error use new error toast
This commit is contained in:
@@ -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
|
||||
)
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user