Skip to content

Commit f77f933

Browse files
authored
fix(Versions): should calculate minor version to get color (#2180)
1 parent 91963b9 commit f77f933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/versions/parseNodesToVersionsValues.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function parseNodeGroupsToVersionsValues(
4343
return {
4444
title: group.name,
4545
version: group.name,
46-
color: versionsToColor?.get(group.name),
46+
color: versionsToColor?.get(getMinorVersion(group.name)),
4747
value: value < MIN_VALUE ? MIN_VALUE : value,
4848
};
4949
});

0 commit comments

Comments
 (0)