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) => {
|
error: (error) => {
|
||||||
this.suggestions = null
|
this.suggestions = null
|
||||||
this.toastService.showError(
|
this.toastService.showError(
|
||||||
$localize`Error retrieving suggestions: ${JSON.stringify(
|
$localize`Error retrieving suggestions.`,
|
||||||
error
|
10000,
|
||||||
).slice(0, 500)}`
|
error
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user