fix: reload assistant click opens login
This commit is contained in:
parent
9db50e0ac2
commit
867e392a2e
1 changed files with 2 additions and 6 deletions
|
|
@ -161,18 +161,14 @@ export function AssistantAndOrgListbox() {
|
|||
</ListboxOption>
|
||||
|
||||
<ListboxOption
|
||||
value="new-assistant"
|
||||
value="reload-assistant"
|
||||
fontSizeModifier={-2}
|
||||
className="border-border border-b px-2 py-1.5"
|
||||
onClick={session ? onNewAssistant : () => login(false)}
|
||||
onClick={() => refreshProfiles()}
|
||||
>
|
||||
<span
|
||||
className="text-description flex flex-row items-center"
|
||||
style={{ fontSize: tinyFont }}
|
||||
onClick={async (e) => {
|
||||
e.stopPropagation();
|
||||
await refreshProfiles();
|
||||
}}
|
||||
>
|
||||
<ArrowPathIcon
|
||||
className={cn(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue