diff options
| author | Adam <[email protected]> | 2026-02-09 12:19:04 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-02-09 12:19:04 -0600 |
| commit | a84bdd7cd7d638e207f4932aa614650c4d0e275f (patch) | |
| tree | 4fe3695d06feb13f712ea48c922a5afcede36f02 /packages/app/src/components/prompt-input/submit.ts | |
| parent | 110f6804fbabaa7004c053170c0952715b725cad (diff) | |
| download | opencode-a84bdd7cd7d638e207f4932aa614650c4d0e275f.tar.gz opencode-a84bdd7cd7d638e207f4932aa614650c4d0e275f.zip | |
fix(app): incorrect workspace on new session
Diffstat (limited to 'packages/app/src/components/prompt-input/submit.ts')
| -rw-r--r-- | packages/app/src/components/prompt-input/submit.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/app/src/components/prompt-input/submit.ts b/packages/app/src/components/prompt-input/submit.ts index a96bdcbad..c118f8cb2 100644 --- a/packages/app/src/components/prompt-input/submit.ts +++ b/packages/app/src/components/prompt-input/submit.ts @@ -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 |
