diff --git a/frontend/src/lib/components/FlowStatusViewerInner.svelte b/frontend/src/lib/components/FlowStatusViewerInner.svelte index b0e933ef8a..52283a54a2 100644 --- a/frontend/src/lib/components/FlowStatusViewerInner.svelte +++ b/frontend/src/lib/components/FlowStatusViewerInner.svelte @@ -938,7 +938,6 @@ if (rightColumnSelect != 'node_definition') { rightColumnSelect = 'node_status' } - console.log('BAR', e.detail) if (typeof e.detail == 'string') { if (e.detail == 'Input') { selectedNode = 'start' diff --git a/frontend/src/lib/components/flows/map/VirtualItem.svelte b/frontend/src/lib/components/flows/map/VirtualItem.svelte index f292523741..4ab598bf9c 100644 --- a/frontend/src/lib/components/flows/map/VirtualItem.svelte +++ b/frontend/src/lib/components/flows/map/VirtualItem.svelte @@ -48,7 +48,7 @@ } } }} - id={`flow-editor-virtual-${label}`} + id={`flow-editor-virtual-${encodeURIComponent(label)}`} >
| undefined offset: number label: string | undefined + branchOne: boolean } + + $: borderStatus = data.branchOne + ? computeBorderStatus(0, 'branchone', data.flowModuleStates?.[data.id]) + : undefined @@ -25,7 +31,7 @@ selectable={true} selected={false} bgColor={getStateColor(undefined, darkMode)} - borderColor={getStateColor(data?.flowModuleStates?.[data?.id]?.type, darkMode)} + borderColor={getStateColor(borderStatus, darkMode)} on:select={(e) => { data?.eventHandlers?.select(e.detail) }}