@redsift/d3-rs-lines
Advanced tools
Comparing version 0.4.4 to 0.4.5-legends-upd
{ | ||
"name": "@redsift/d3-rs-lines", | ||
"version": "0.4.4", | ||
"version": "0.4.5-legends-upd", | ||
"description": "Generates line charts using D3v4.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -533,3 +533,3 @@ | ||
item, | ||
{v: item.v.map((v, idx) => legendsEnabled.includes(idx) ? v : null)} | ||
{v: item.v.map((v, idx) => legends.length && legendsEnabled.includes(idx) ? v : null)} | ||
) | ||
@@ -1035,5 +1035,5 @@ ); | ||
let nested = item[1].data; | ||
let nested = item[1] !== null ? item[1].data : null; | ||
if (nested !== undefined) { | ||
if (nested !== undefined && nested !== null) { | ||
item = nested; | ||
@@ -1040,0 +1040,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
1116992
17
12186