We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c68264 commit f7594fbCopy full SHA for f7594fb
src/utils/versions/parseNodesToVersionsValues.ts
@@ -1,6 +1,7 @@
1
import type {TableGroup} from '../../store/reducers/storage/types';
2
import type {TSystemStateInfo} from '../../types/api/nodes';
3
4
+import {DEFAULT_COLOR} from './getVersionsColors';
5
import {getMinorVersion} from './parseVersion';
6
import {sortVersions} from './sortVersions';
7
import type {PreparedVersion, VersionsDataMap} from './types';
@@ -48,6 +49,7 @@ export function parseNodeGroupsToPreparedVersions(
48
49
version: group.name,
50
count: group.count,
51
minorVersion,
52
+ color: data?.color ?? DEFAULT_COLOR,
53
...data,
54
};
55
});
0 commit comments