From 41e9e8637989d6ac8e6babcf61631173dadae416 Mon Sep 17 00:00:00 2001 From: adlsdztony Date: Sun, 1 Jun 2025 06:58:05 +0000 Subject: [PATCH] fix: update task rendering to correctly display error count --- monitor/static/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor/static/index.js b/monitor/static/index.js index a8ef7b5..f564f03 100644 --- a/monitor/static/index.js +++ b/monitor/static/index.js @@ -145,10 +145,10 @@ function renderTasks(data) { typeHeader.innerHTML = ` ${taskType}
+ ${errorCount > 0 ? ` ${errorCount} error` : ''} ${tasks.length} total ${runningCount} active ${completedCount} completed - ${errorCount > 0 ? ` ${errorCount} error` : ''}
`; typeSection.appendChild(typeHeader);