fix(tui): fix broken /export toggling (#16443)
This commit is contained in:
@@ -56,7 +56,7 @@ export function DialogExportOptions(props: DialogExportOptionsProps) {
|
|||||||
setStore("active", order[nextIndex])
|
setStore("active", order[nextIndex])
|
||||||
evt.preventDefault()
|
evt.preventDefault()
|
||||||
}
|
}
|
||||||
if (evt.name === "space") {
|
if (evt.name === "space" || evt.name === " ") {
|
||||||
if (store.active === "thinking") setStore("thinking", !store.thinking)
|
if (store.active === "thinking") setStore("thinking", !store.thinking)
|
||||||
if (store.active === "toolDetails") setStore("toolDetails", !store.toolDetails)
|
if (store.active === "toolDetails") setStore("toolDetails", !store.toolDetails)
|
||||||
if (store.active === "assistantMetadata") setStore("assistantMetadata", !store.assistantMetadata)
|
if (store.active === "assistantMetadata") setStore("assistantMetadata", !store.assistantMetadata)
|
||||||
|
|||||||
Reference in New Issue
Block a user