From d45d98e55853682ed2d977196834f9981467a7cd Mon Sep 17 00:00:00 2001 From: jasquat Date: Fri, 5 Apr 2024 10:42:23 -0400 Subject: [PATCH] highlight STARTED tasks like READY and WAITING tasks in the webui --- spiffworkflow-frontend/src/components/ReactDiagramEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spiffworkflow-frontend/src/components/ReactDiagramEditor.tsx b/spiffworkflow-frontend/src/components/ReactDiagramEditor.tsx index 25d4aca7..9ee03207 100644 --- a/spiffworkflow-frontend/src/components/ReactDiagramEditor.tsx +++ b/spiffworkflow-frontend/src/components/ReactDiagramEditor.tsx @@ -515,7 +515,7 @@ export default function ReactDiagramEditor({ let className = ''; if (task.state === 'COMPLETED') { className = 'completed-task-highlight'; - } else if (task.state === 'READY' || task.state === 'WAITING') { + } else if (['READY', 'WAITING', 'STARTED'].includes(task.state)) { className = 'active-task-highlight'; } else if (task.state === 'CANCELLED') { className = 'cancelled-task-highlight';