mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Fixing error when clearing big number (#6465)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user