Skip to content
Snippets Groups Projects
Commit b5be4e9a authored by Tom Robinson's avatar Tom Robinson
Browse files

Quick fix for dashboard multiseries with identical columsn using the wrong seriesKey

parent 0b14a7e4
Branches
Tags
No related merge requests found
......@@ -405,7 +405,8 @@ function transformSingleSeries(s, series, seriesIndex) {
_transformed: true,
_seriesIndex: seriesIndex,
// use underlying column name as the seriesKey since it should be unique
_seriesKey: col ? col.name : name,
// EXCEPT for dashboard multiseries, so check seriesIndex == 0
_seriesKey: seriesIndex === 0 && col ? col.name : name,
},
data: {
rows: rows.map((row, rowIndex) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment