mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
Typescript syntax fix
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user