Fix: initialize current page to 1

This commit is contained in:
shamoon committed 2024-04-07 11:15:49 -07:00
1 parent 654cc05f0e
commit 622fcf96a0
1 file changed
+1 -1
@@ -148,7 +148,7 @@ export class DocumentDetailComponent
custom_fields: new FormArray([]),
})
previewCurrentPage: number
previewCurrentPage: number = 1
previewNumPages: number
previewZoomSetting: ZoomSetting = ZoomSetting.One
previewZoomScale: ZoomSetting = ZoomSetting.PageWidth