diff --git a/Plan/react/dashboard/src/components/table/GroupTable.js b/Plan/react/dashboard/src/components/table/GroupTable.js index 686c95856..d6f6017b4 100644 --- a/Plan/react/dashboard/src/components/table/GroupTable.js +++ b/Plan/react/dashboard/src/components/table/GroupTable.js @@ -21,7 +21,8 @@ const GroupTable = ({groups, colors}) => { if (groups[i].color) { return nightModeEnabled ? withReducedSaturation(groups[i].color) : groups[i].color; } - return nightModeEnabled ? withReducedSaturation(colors[i]) : colors[i]; + const index = i % colors.length; + return nightModeEnabled ? withReducedSaturation(colors[index]) : colors[index]; } return (