mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 02:57:09 +01:00
Typescript syntax fix
This commit is contained in:
parent
88b39faa7e
commit
cbf844e7db
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ export class DocumentDetailComponent implements OnInit {
|
|||
})
|
||||
|
||||
@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
|
||||
if (element && element.nativeElement.offsetParent !== null) { // its visible
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue