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