mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	bugfix
This commit is contained in:
		
							parent
							
								
									118149c539
								
							
						
					
					
						commit
						17ded12375
					
				@ -28,6 +28,9 @@ export class OpenDocumentsService {
 | 
				
			|||||||
    if (index > -1) {
 | 
					    if (index > -1) {
 | 
				
			||||||
      this.documentService.get(id).subscribe(doc => {
 | 
					      this.documentService.get(id).subscribe(doc => {
 | 
				
			||||||
        this.openDocuments[index] = doc
 | 
					        this.openDocuments[index] = doc
 | 
				
			||||||
 | 
					      }, error => {
 | 
				
			||||||
 | 
					        this.openDocuments.splice(index, 1)
 | 
				
			||||||
 | 
					        this.save()
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user