From 6d5f6725a5e2e795728829154e78dbabf8753859 Mon Sep 17 00:00:00 2001 From: shrimbly Date: Thu, 26 Feb 2026 22:14:15 +1300 Subject: [PATCH] fix(45): add Conditional Switch to TEXT_TARGET_OPTIONS, remove from IMAGE_SOURCE_OPTIONS Conditional Switch was missing from the text target connection drop menu and incorrectly present in the image source menu. Co-Authored-By: Claude Opus 4.6 --- src/components/ConnectionDropMenu.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/ConnectionDropMenu.tsx b/src/components/ConnectionDropMenu.tsx index 528b29a8..e2730b35 100644 --- a/src/components/ConnectionDropMenu.tsx +++ b/src/components/ConnectionDropMenu.tsx @@ -196,6 +196,15 @@ const TEXT_TARGET_OPTIONS: MenuOption[] = [ ), }, + { + type: "conditionalSwitch", + label: "Conditional Switch", + icon: ( + + + + ), + }, ]; // Define which nodes can provide sources for handle types (when dragging to a target handle) @@ -266,15 +275,6 @@ const IMAGE_SOURCE_OPTIONS: MenuOption[] = [ ), }, - { - type: "conditionalSwitch", - label: "Conditional Switch", - icon: ( - - - - ), - }, ]; const TEXT_SOURCE_OPTIONS: MenuOption[] = [