react-tabulator
Advanced tools
Comparing version 0.13.7 to 0.13.8
@@ -1,2 +0,2 @@ | ||
## [0.13.7] - 2020-09-16 | ||
## [0.13.8] - 2020-09-16 | ||
- added cross-env for Windows dev env. | ||
@@ -3,0 +3,0 @@ - fixed undefined this.table in componentDidMount. |
@@ -123,3 +123,3 @@ "use strict"; | ||
default_1.prototype.componentWillUnmount = function () { | ||
this.table.destroy(); | ||
this.table && this.table.destroy(); | ||
}; | ||
@@ -132,3 +132,3 @@ // this is for React 15.x only | ||
this.setState({ data: props.data }, function () { | ||
_this.table.setData(_this.state.data); | ||
_this.table && _this.table.setData(_this.state.data); | ||
}); | ||
@@ -139,3 +139,3 @@ } | ||
this.setState({ columns: props.columns }, function () { | ||
_this.table.setColumns(_this.state.columns); | ||
_this.table && _this.table.setColumns(_this.state.columns); | ||
}); | ||
@@ -142,0 +142,0 @@ } |
@@ -131,3 +131,3 @@ "use strict"; | ||
default_1.prototype.componentWillUnmount = function () { | ||
this.table.destroy(); | ||
this.table && this.table.destroy(); | ||
}; | ||
@@ -134,0 +134,0 @@ // React 16.5.x - "getDerivedStateFromProps" replaces both "componentWillMount" & "componentWillReceiveProps" |
{ | ||
"name": "react-tabulator", | ||
"version": "0.13.7", | ||
"version": "0.13.8", | ||
"description": "React Tabulator is based on tabulator - a JS table library with many advanced features.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1921982