mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-04 03:27:12 -05:00 
			
		
		
		
	Typescript syntax fix
This commit is contained in:
		
							parent
							
								
									88b39faa7e
								
							
						
					
					
						commit
						cbf844e7db
					
				@ -49,7 +49,7 @@ export class DocumentDetailComponent implements OnInit {
 | 
				
			|||||||
  })
 | 
					  })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @ViewChild('nav') nav: NgbNav
 | 
					  @ViewChild('nav') nav: NgbNav
 | 
				
			||||||
  @ViewChild('pdfPreview') set pdfPreview(element): void {
 | 
					  @ViewChild('pdfPreview') set pdfPreview(element) {
 | 
				
			||||||
    // this gets called when compontent added or removed from DOM
 | 
					    // this gets called when compontent added or removed from DOM
 | 
				
			||||||
    if (element && element.nativeElement.offsetParent !== null) { // its visible
 | 
					    if (element && element.nativeElement.offsetParent !== null) { // its visible
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user