mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-14 12:07:12 +00:00
Metadata error use new error toast
This commit is contained in:
1 parent
a436caf2ad
commit
b9a548758a
1 file changed
+3
-1
@@ -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