Suggestions error use new error toast

This commit is contained in:
shamoon 2023-05-20 10:15:53 -07:00
parent 5461f8a225
commit a436caf2ad

View File

@ -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.`,
10000,
error error
).slice(0, 500)}`
) )
}, },
}) })