mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-29 00:38:03 -05:00
add fallback color
This commit is contained in:
@@ -68,7 +68,7 @@ export function WorkflowsList({
|
||||
const isDeletedWorkflow = workflow.workflowName === DELETED_WORKFLOW_LABEL
|
||||
const workflowColor = isDeletedWorkflow
|
||||
? DELETED_WORKFLOW_COLOR
|
||||
: workflows[workflow.workflowId]?.color
|
||||
: workflows[workflow.workflowId]?.color || '#64748b'
|
||||
const canToggle = !isDeletedWorkflow
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user