react-tabulator
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -16,3 +16,3 @@ "use strict"; | ||
var arr = cell.getValue() || []; | ||
var content = arr.join(', '); | ||
var content = arr && arr.length > 0 && typeof arr[0] === 'string' ? arr.join(', ') : ''; | ||
if (style === 'PILL') { | ||
@@ -23,3 +23,3 @@ content = (React.createElement(React.Fragment, null, arr.map(function (value) { return (React.createElement("span", null, value)); }))); | ||
el.className = 'multi-value-formatter-content'; | ||
el.title = arr.join(', '); | ||
el.title = arr && arr.length > 0 && typeof arr[0] === 'string' ? arr.join(', ') : ''; | ||
react_dom_1.render(content, el); | ||
@@ -26,0 +26,0 @@ return el; |
{ | ||
"name": "react-tabulator", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "React Tabulator component", | ||
@@ -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
1139255