[APM] When comparison feature is disabled, we still see the shaded area (#137223)

This commit is contained in:
Cauê Marcondes 2022-07-27 08:59:33 -04:00 committed by GitHub
parent 11d4866155
commit bc256148e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,8 +113,6 @@ function SparkPlotItem({
width: compact ? unit * 4 : unit * 5,
};
const Sparkline = hasComparisonSeries ? LineSeries : AreaSeries;
if (isLoading) {
return (
<div
@ -138,7 +136,7 @@ function SparkPlotItem({
showLegend={false}
tooltip="none"
/>
<Sparkline
<LineSeries
id="Sparkline"
xScaleType={ScaleType.Time}
yScaleType={ScaleType.Linear}