Skip to content

Commit 254368b

Browse files
committed
fix: use Others only when there is more than 1 small category
1 parent c8a8a67 commit 254368b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/diracx-web-components/src/components/JobMonitor/JobSunburst.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ function buildTree(
214214
othersValue = { name: key, value: groupTotal };
215215
else
216216
othersValue = {
217-
name: "Others",
217+
name: key,
218218
children: buildTree(group, groupColumns.slice(1), [
219219
...parentPath,
220220
key,

0 commit comments

Comments
 (0)