diff options
| author | adamelmore <[email protected]> | 2026-01-27 20:24:23 -0600 |
|---|---|---|
| committer | adamelmore <[email protected]> | 2026-01-27 20:24:27 -0600 |
| commit | d9741866c52472469c8858b83f44ad9c5a5f4925 (patch) | |
| tree | b9d168939286d44ae382880fa6601ff03a9a1b82 /packages/app/src/components | |
| parent | 898118bafbf8a12c0ef9d6673d36305472991906 (diff) | |
| download | opencode-d9741866c52472469c8858b83f44ad9c5a5f4925.tar.gz opencode-d9741866c52472469c8858b83f44ad9c5a5f4925.zip | |
fix(app): reintroduce review tab
Diffstat (limited to 'packages/app/src/components')
| -rw-r--r-- | packages/app/src/components/prompt-input.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 9f038b6e8..d46ce095a 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -190,6 +190,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { const wantsReview = item.commentOrigin === "review" || (item.commentOrigin !== "file" && commentInReview(item.path)) if (wantsReview) { layout.fileTree.setTab("changes") + if (!layout.fileTree.opened()) tabs().open("review") requestAnimationFrame(() => comments.setFocus(focus)) return } |
