Skip to content

Commit

Permalink
Fix usage of mixed operators.
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr committed Dec 5, 2019
1 parent 6701516 commit cf6d780
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function prepareSeries(series, options, additionalOptions) {
{ x: plotlySeries.x[j], y: plotlySeries.y[i] },
);

const zValue = datum && datum.zVal || 0;
const zValue = (datum && datum.zVal) || 0;
item.push(zValue);

if (isFinite(zMax) && options.showDataLabels) {
Expand Down

0 comments on commit cf6d780

Please sign in to comment.