The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 25, 11:00 UTC
Restore Open PR toast action after PR creation
Co-authored-by: codex <codex@users.noreply.github.com>
Julius Marminge committed
Mar 2, 2026 at 19:59 UTC
77c81b7468003e7b7d56fd4dd123c499fdf3e073
1 file changed
+1
-1
apps/web/src/components/GitActionsControl.tsx
+1
-1
@@ -319,7 +319,7 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions
319
const shouldOfferOpenPrCta =
320
(action === "commit_push" || action === "commit_push_pr") &&
321
!!prUrl &&
322
- !actionIsDefaultBranch;
322
+ (result.pr.status === "created" || result.pr.status === "opened_existing");
323
const shouldOfferCreatePrCta =
324
action === "commit_push" &&
325
!prUrl &&