feat: keep assistant menu open when clicking reload (#7265)

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
This commit is contained in:
Ting-Wai 2025-09-03 10:35:13 -07:00 • committed by GitHub
parent 3a52358920
commit fd5cc3a4ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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");
}}
>
<span
className="text-description flex flex-row items-center"