highlight STARTED tasks like READY and WAITING tasks in the webui
This commit is contained in:
parent
7ae81f47cf
commit
d45d98e558
|
@ -515,7 +515,7 @@ export default function ReactDiagramEditor({
|
||||||
let className = '';
|
let className = '';
|
||||||
if (task.state === 'COMPLETED') {
|
if (task.state === 'COMPLETED') {
|
||||||
className = 'completed-task-highlight';
|
className = 'completed-task-highlight';
|
||||||
} else if (task.state === 'READY' || task.state === 'WAITING') {
|
} else if (['READY', 'WAITING', 'STARTED'].includes(task.state)) {
|
||||||
className = 'active-task-highlight';
|
className = 'active-task-highlight';
|
||||||
} else if (task.state === 'CANCELLED') {
|
} else if (task.state === 'CANCELLED') {
|
||||||
className = 'cancelled-task-highlight';
|
className = 'cancelled-task-highlight';
|
||||||
|
|
Loading…
Reference in New Issue