diff --git a/src/app/components/data-viewer/data-viewer.component.ts b/src/app/components/data-viewer/data-viewer.component.ts index 7953b7a..4dd5a81 100644 --- a/src/app/components/data-viewer/data-viewer.component.ts +++ b/src/app/components/data-viewer/data-viewer.component.ts @@ -214,6 +214,7 @@ export class DataViewerComponent implements OnInit, OnChanges { }); } else { this.showPagination = true; + this.page.totalSize = this.setCachedData.length; this.data = this.setCachedData.slice(start, end); } } else if (type === 'hash') { @@ -236,6 +237,7 @@ export class DataViewerComponent implements OnInit, OnChanges { ); } else { this.showPagination = true; + this.page.totalSize = this.hashCachedData.length; this.data = this.hashCachedData.slice(start, end); } } else if (type === 'string') {