diff --git a/giraffe/package.json b/giraffe/package.json index 697a1415..cbb1d4f7 100644 --- a/giraffe/package.json +++ b/giraffe/package.json @@ -1,6 +1,6 @@ { "name": "@influxdata/giraffe", - "version": "2.38.0", + "version": "2.38.1", "main": "dist/index.js", "module": "dist/index.js", "license": "MIT", diff --git a/giraffe/src/components/SimpleTable/PagedTable.tsx b/giraffe/src/components/SimpleTable/PagedTable.tsx index 63f876ff..f9f400e9 100644 --- a/giraffe/src/components/SimpleTable/PagedTable.tsx +++ b/giraffe/src/components/SimpleTable/PagedTable.tsx @@ -98,7 +98,7 @@ const getNumberOfRowsOnCurrentPage = ( rowIdx++ } - return Math.max(0, rowIdx - paginationOffset) + return Math.max(1, rowIdx - paginationOffset) } const subsetResult = ( diff --git a/stories/package.json b/stories/package.json index 7b8a9a3d..0ce5c64e 100644 --- a/stories/package.json +++ b/stories/package.json @@ -1,6 +1,6 @@ { "name": "@influxdata/giraffe-stories", - "version": "2.38.0", + "version": "2.38.1", "license": "MIT", "repository": { "type": "git",