mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-06 07:04:18 +00:00
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…
x
Reference in New Issue
Block a user