Skip to content

Commit

Permalink
Fixing error when clearing big number (#6465)
Browse files Browse the repository at this point in the history
  • Loading branch information
michellethomas authored Nov 30, 2018
1 parent e715cdb commit 5261d8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function transformProps(chartProps) {

let bigNumber;
let trendLineData;
const metricName = metric.label || metric;
const metricName = metric && metric.label ? metric.label : metric;
const compareLag = +compareLagInput || 0;
const supportTrendLine = vizType === 'big_number';
const supportAndShowTrendLine = supportTrendLine && showTrendLine;
Expand Down

0 comments on commit 5261d8a

Please sign in to comment.