From ec88e177103d33e5fd78ab515df5f2ac027ea675 Mon Sep 17 00:00:00 2001 From: Jimmy Ben Klieve Date: Thu, 29 Jan 2026 17:34:05 +0800 Subject: [PATCH] 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) --- web/src/pages/admin/task-executor-detail.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/web/src/pages/admin/task-executor-detail.tsx b/web/src/pages/admin/task-executor-detail.tsx index 0adf6d4c0..f94eecf40 100644 --- a/web/src/pages/admin/task-executor-detail.tsx +++ b/web/src/pages/admin/task-executor-detail.tsx @@ -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))' }} /> */} - +