mirror of
https://github.com/apache/superset.git
synced 2026-04-25 02:55:07 +00:00
feat(storybook): Co-habitating/Upgrading Storybooks to v7 (dependency madness ensues) (#26907)
This commit is contained in:
@@ -219,7 +219,7 @@ export default function transformProps(
|
||||
getMetricLabel,
|
||||
);
|
||||
|
||||
const isMultiSeries = groupby.length || metrics.length > 1;
|
||||
const isMultiSeries = groupby?.length || metrics?.length > 1;
|
||||
|
||||
const [rawSeries, sortedTotalValues, minPositiveValue] = extractSeries(
|
||||
rebasedData,
|
||||
@@ -297,7 +297,7 @@ export default function transformProps(
|
||||
: getCustomFormatter(
|
||||
customFormatters,
|
||||
metrics,
|
||||
labelMap[seriesName]?.[0],
|
||||
labelMap?.[seriesName]?.[0],
|
||||
) ?? defaultFormatter,
|
||||
showValue,
|
||||
onlyTotal,
|
||||
|
||||
Reference in New Issue
Block a user