mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Suggestions error use new error toast
This commit is contained in:
parent
5461f8a225
commit
a436caf2ad
@ -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…
x
Reference in New Issue
Block a user