Skip to content

Commit

Permalink
Fix Haas-Bioroid faction chart display. (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
plural authored Feb 7, 2025
1 parent 795f20f commit b2a1493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/tournaments/_player_counts.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
// Strip dashes and capitalize first letter of each word for display.
function displayFaction(faction) {
return faction.split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join(' ');
return faction.split('-').map(word => word.charAt(0).toUpperCase() + word.slice(1)).join(' ').replace('Haas ', 'Haas-');
}
function buildSeriesData(data, colorsMap) {
Expand Down

0 comments on commit b2a1493

Please sign in to comment.