mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Suggestions error use new error toast
This commit is contained in:
parent
52958583f0
commit
517ce72b84
@ -394,9 +394,9 @@ export class DocumentDetailComponent
|
||||
error: (error) => {
|
||||
this.suggestions = null
|
||||
this.toastService.showError(
|
||||
$localize`Error retrieving suggestions: ${JSON.stringify(
|
||||
$localize`Error retrieving suggestions.`,
|
||||
10000,
|
||||
error
|
||||
).slice(0, 500)}`
|
||||
)
|
||||
},
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user