mirror of
https://github.com/gosticks/react-table.git
synced 2026-12-03 11:11:39 +00:00
Fix pagination not showing with 0 pagesLength
This commit is contained in:
+1
-1
@@ -13,5 +13,5 @@ Render(null, (
|
||||
</Route>
|
||||
</Router>
|
||||
), {
|
||||
useHash: true
|
||||
useHash: false
|
||||
})
|
||||
|
||||
+5
-1
@@ -1,4 +1,8 @@
|
||||
{
|
||||
"name": "react-table",
|
||||
"root": "dist"
|
||||
"root": "dist",
|
||||
"routes": [{
|
||||
"src": "/**",
|
||||
"dest": "index.html"
|
||||
}]
|
||||
}
|
||||
|
||||
+1
-1
@@ -416,7 +416,7 @@ export default React.createClass({
|
||||
})}
|
||||
</TbodyComponent>
|
||||
</TableComponent>
|
||||
{this.props.showPagination && pagesLength > 1 && (
|
||||
{this.props.showPagination && (
|
||||
<Pagination
|
||||
currentPage={currentPage}
|
||||
pagesLength={pagesLength}
|
||||
|
||||
Reference in New Issue
Block a user