Skip to content

Commit

Permalink
fix: Allow ComboLineSingle if there's only one unit
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Oct 4, 2023
1 parent 60c16f9 commit a0ed433
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/charts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1522,6 +1522,8 @@ export const getPossibleChartTypes = ({

if (uniqueUnits.length > 1) {
possibles.push(...comboChartTypes);
} else {
possibles.push("comboLineSingle");
}
}
}
Expand Down

0 comments on commit a0ed433

Please sign in to comment.