@ashvin27/react-datatable
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -204,2 +204,6 @@ 'use strict'; | ||
value: function isLast() { | ||
// because for empty records page_number will still be 1 | ||
if (this.pages == 0) { | ||
return true; | ||
} | ||
if (this.state.page_number == this.pages) { | ||
@@ -206,0 +210,0 @@ return true; |
{ | ||
"name": "@ashvin27/react-datatable", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "ReactDatatable is a component which provide ability to create multifunctional table using single component like jQuery Datatable", | ||
@@ -12,3 +12,3 @@ "main": "./lib/index.js", | ||
"license": "MIT", | ||
"homepage": "https://ashvin27.github.io/react-datatable/", | ||
"homepage": "http://react-datatable.in/", | ||
"bugs": { | ||
@@ -15,0 +15,0 @@ "url": "https://github.com/ashvin27/react-datatable/issues", |
@@ -17,3 +17,3 @@ # react-datatable | ||
## Example | ||
[https://ashvin27.github.io/react-datatable/example/](https://ashvin27.github.io/react-datatable/example/) | ||
[http://react-datatable.in/](http://react-datatable.in/) | ||
@@ -20,0 +20,0 @@ ## Installation |
@@ -149,2 +149,6 @@ /** | ||
isLast() { | ||
// because for empty records page_number will still be 1 | ||
if(this.pages == 0){ | ||
return true; | ||
} | ||
if (this.state.page_number == this.pages) { | ||
@@ -151,0 +155,0 @@ return true |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
92399
2025
1