fix: reload assistants button leading to new assistant page
This commit is contained in:
parent
572c4a7539
commit
961084cb45
1 changed files with 5 additions and 6 deletions
|
|
@ -165,18 +165,17 @@ export function AssistantAndOrgListbox() {
|
|||
</ListboxOption>
|
||||
|
||||
<ListboxOption
|
||||
value="new-assistant"
|
||||
value="reload-assistants"
|
||||
fontSizeModifier={-2}
|
||||
className="border-border border-b px-2 py-1.5"
|
||||
onClick={session ? onNewAssistant : () => login(false)}
|
||||
onClick={async (e: any) => {
|
||||
e.stopPropagation();
|
||||
await 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