fix(app): opened tabs follow created session
This commit is contained in:
parent
af06175b1f
commit
a219615fe5
3 changed files with 61 additions and 1 deletions
|
|
@ -1220,7 +1220,10 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|||
})
|
||||
return undefined
|
||||
})
|
||||
if (session) navigate(`/${base64Encode(sessionDirectory)}/session/${session.id}`)
|
||||
if (session) {
|
||||
layout.handoff.setTabs(base64Encode(sessionDirectory), session.id)
|
||||
navigate(`/${base64Encode(sessionDirectory)}/session/${session.id}`)
|
||||
}
|
||||
}
|
||||
if (!session) return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue