Skip to content

Commit a9735f5

Browse files
committed
feat: keep assistant menu open when clicking reload
1 parent 1674c2a commit a9735f5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

gui/src/components/AssistantAndOrgListbox/index.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,10 @@ export function AssistantAndOrgListbox() {
176176
value="reload-assistant"
177177
fontSizeModifier={-2}
178178
className="border-border border-b px-2 py-1.5"
179-
onClick={() =>
180-
refreshProfiles("Manual refresh from assistant list")
181-
}
179+
onClick={(e: React.MouseEvent) => {
180+
e.stopPropagation();
181+
refreshProfiles("Manual refresh from assistant list");
182+
}}
182183
>
183184
<span
184185
className="text-description flex flex-row items-center"

packages/openai-adapters/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)