mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Suggestions error use new error toast
This commit is contained in:
		@@ -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)}`
 | 
			
		||||
            )
 | 
			
		||||
          },
 | 
			
		||||
        })
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user