mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Change: show preview even if metadata fails (#5706)
This commit is contained in:
		@@ -487,7 +487,7 @@ export class DocumentDetailComponent
 | 
				
			|||||||
          this.metadata = result
 | 
					          this.metadata = result
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        error: (error) => {
 | 
					        error: (error) => {
 | 
				
			||||||
          this.metadata = null
 | 
					          this.metadata = {} // allow display to fallback to <object> tag
 | 
				
			||||||
          this.toastService.showError(
 | 
					          this.toastService.showError(
 | 
				
			||||||
            $localize`Error retrieving metadata`,
 | 
					            $localize`Error retrieving metadata`,
 | 
				
			||||||
            error
 | 
					            error
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user