mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-31 15:45:08 +08:00
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:
@ -83,8 +83,6 @@ function TaskExecutorDetail({ content }: TaskExecutorDetailProps) {
|
|||||||
|
|
||||||
const items = data.map((x) => ({
|
const items = data.map((x) => ({
|
||||||
...x,
|
...x,
|
||||||
done: Math.floor(Math.random() * 100),
|
|
||||||
failed: Math.floor(Math.random() * 100),
|
|
||||||
now: dayjs(x.now).valueOf(),
|
now: dayjs(x.now).valueOf(),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
@ -126,7 +124,10 @@ function TaskExecutorDetail({ content }: TaskExecutorDetailProps) {
|
|||||||
tick={{ fill: 'rgb(var(--text-secondary))' }}
|
tick={{ fill: 'rgb(var(--text-secondary))' }}
|
||||||
/> */}
|
/> */}
|
||||||
|
|
||||||
<CartesianGrid strokeDasharray="3 3" />
|
<CartesianGrid
|
||||||
|
strokeDasharray="3 3"
|
||||||
|
className="stroke-border-default"
|
||||||
|
/>
|
||||||
|
|
||||||
<Tooltip
|
<Tooltip
|
||||||
trigger="click"
|
trigger="click"
|
||||||
|
|||||||
Reference in New Issue
Block a user