fix(app): incorrect workspace on new session
This commit is contained in:
parent
110f6804fb
commit
a84bdd7cd7
3 changed files with 7 additions and 5 deletions
|
|
@ -137,7 +137,7 @@ export function createPromptSubmit(input: PromptSubmitInput) {
|
|||
|
||||
const projectDirectory = sdk.directory
|
||||
const isNewSession = !params.id
|
||||
const worktreeSelection = input.newSessionWorktree ?? "main"
|
||||
const worktreeSelection = input.newSessionWorktree || "main"
|
||||
|
||||
let sessionDirectory = projectDirectory
|
||||
let client = sdk.client
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue