From 8de4f9b32d7a970cd6e038ed418e2a478b5b2a1e Mon Sep 17 00:00:00 2001 From: Pouzor Date: Sun, 8 Mar 2026 11:35:30 +0100 Subject: [PATCH] fix: pre-select cluster type in EdgeModal when connecting via cluster handles --- frontend/src/App.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 6e8fe71..a7ccaf2 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -264,6 +264,11 @@ export default function App() { open={!!pendingConnection} onClose={() => setPendingConnection(null)} onSubmit={handleEdgeConfirm} + initial={ + pendingConnection?.sourceHandle?.includes('cluster') || pendingConnection?.targetHandle?.includes('cluster') + ? { type: 'cluster' } + : undefined + } />