From a9735f58caf930d01e17f34b4feec14b55ba91b7 Mon Sep 17 00:00:00 2001 From: Ting-Wai To <40179554+tingwai@users.noreply.github.com> Date: Wed, 20 Aug 2025 13:31:44 -0700 Subject: [PATCH] feat: keep assistant menu open when clicking reload --- gui/src/components/AssistantAndOrgListbox/index.tsx | 7 ++++--- packages/openai-adapters/package-lock.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gui/src/components/AssistantAndOrgListbox/index.tsx b/gui/src/components/AssistantAndOrgListbox/index.tsx index e77bf511819..0412416aa80 100644 --- a/gui/src/components/AssistantAndOrgListbox/index.tsx +++ b/gui/src/components/AssistantAndOrgListbox/index.tsx @@ -176,9 +176,10 @@ export function AssistantAndOrgListbox() { value="reload-assistant" fontSizeModifier={-2} className="border-border border-b px-2 py-1.5" - onClick={() => - refreshProfiles("Manual refresh from assistant list") - } + onClick={(e: React.MouseEvent) => { + e.stopPropagation(); + refreshProfiles("Manual refresh from assistant list"); + }} >