We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7141fd commit 34775ccCopy full SHA for 34775cc
static/app/views/explore/components/suspectTags/charts.tsx
@@ -152,8 +152,12 @@ function Chart({
152
return '\u2014';
153
}
154
155
- const selectedParam = seriesParamsOrParam[0];
156
- const baselineParam = seriesParamsOrParam[1];
+ const selectedParam = seriesParamsOrParam.find(
+ s => s.seriesName === SELECTED_SERIES_NAME
157
+ );
158
+ const baselineParam = seriesParamsOrParam.find(
159
+ s => s.seriesName === BASELINE_SERIES_NAME
160
161
162
if (!selectedParam || !baselineParam) {
163
throw new Error('selectedParam or baselineParam is not defined');
0 commit comments