From 727e0753e480a398d738044fa948dc987719d225 Mon Sep 17 00:00:00 2001 From: cliffhall Date: Wed, 9 Apr 2025 11:52:31 -0400 Subject: [PATCH] This fixes #273 * In Sidebar.tsx - In Reconnect button handler, call onDisconnect before onConnect See: https://github.com/modelcontextprotocol/inspector/issues/273#issuecomment-2789895596 --- client/src/components/Sidebar.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/src/components/Sidebar.tsx b/client/src/components/Sidebar.tsx index 4633d64..31f9b68 100644 --- a/client/src/components/Sidebar.tsx +++ b/client/src/components/Sidebar.tsx @@ -398,7 +398,13 @@ const Sidebar = ({
{connectionStatus === "connected" && (
-