fix: task executor bar chart error (#12894)

### What problem does this PR solve?

Fix wrong data rendered in task executor bar chart 

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Jimmy Ben Klieve
2026-01-29 17:34:05 +08:00
committed by GitHub
parent 32c0161ff1
commit ec88e17710

View File

@ -83,8 +83,6 @@ function TaskExecutorDetail({ content }: TaskExecutorDetailProps) {
const items = data.map((x) => ({
...x,
done: Math.floor(Math.random() * 100),
failed: Math.floor(Math.random() * 100),
now: dayjs(x.now).valueOf(),
}));
@ -126,7 +124,10 @@ function TaskExecutorDetail({ content }: TaskExecutorDetailProps) {
tick={{ fill: 'rgb(var(--text-secondary))' }}
/> */}
<CartesianGrid strokeDasharray="3 3" />
<CartesianGrid
strokeDasharray="3 3"
className="stroke-border-default"
/>
<Tooltip
trigger="click"