diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.html index 82db17edb..aed4d67da 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.html +++ b/src-ui/src/app/components/document-detail/document-detail.component.html @@ -1,10 +1,12 @@ @if (contentRenderType === ContentRenderType.PDF && !useNativePdfViewer) { -
-
Page
- -
of {{previewNumPages}}
-
+ @if (previewNumPages) { +
+
Page
+ +
of {{previewNumPages}}
+
+ }