Skip to content
Snippets Groups Projects
Commit 281be8c7 authored by Tom Robinson's avatar Tom Robinson Committed by GitHub
Browse files

Merge pull request #2788 from metabase/fix-extra-card-heading

Don't detect D-M as D-M-M which causes multiseries header to be shown
parents f9691641 d7321653
Branches
Tags
No related merge requests found
......@@ -35,7 +35,7 @@ const isDimensionDimensionMetric = (cols, strict = true) =>
isMetric(cols[2])
const isDimensionMetricMetric = (cols, strict = true) =>
(!strict || cols.length >= 3) &&
cols.length >= 3 &&
isDimension(cols[0]) &&
cols.slice(1).reduce((acc, col) => acc && isMetric(col), true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment