rsuite-table
Advanced tools
Comparing version 3.8.2 to 3.8.3
@@ -0,1 +1,5 @@ | ||
# 3.8.3 | ||
- `<Table>` The "empty" status is not displayed by default when loading | ||
# 3.8.2 | ||
@@ -2,0 +6,0 @@ |
@@ -1034,9 +1034,10 @@ 'use strict'; | ||
value: function renderInfo() { | ||
if (this._visibleRows.length) { | ||
return null; | ||
} | ||
var _props10 = this.props, | ||
locale = _props10.locale, | ||
renderEmpty = _props10.renderEmpty; | ||
renderEmpty = _props10.renderEmpty, | ||
loading = _props10.loading; | ||
if (this._visibleRows.length || loading) { | ||
return null; | ||
} | ||
var emptyMessage = React.createElement( | ||
@@ -1043,0 +1044,0 @@ 'div', |
{ | ||
"name": "rsuite-table", | ||
"version": "3.8.2", | ||
"version": "3.8.3", | ||
"description": "A React table component", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -1351,6 +1351,6 @@ // @flow | ||
renderInfo() { | ||
if (this._visibleRows.length) { | ||
const { locale, renderEmpty, loading } = this.props; | ||
if (this._visibleRows.length || loading) { | ||
return null; | ||
} | ||
const { locale, renderEmpty } = this.props; | ||
const emptyMessage = <div className={this.addPrefix('body-info')}>{locale.emptyMessage}</div>; | ||
@@ -1357,0 +1357,0 @@ |
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
255326
5306