From 77c81b7468003e7b7d56fd4dd123c499fdf3e073 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Mon, 2 Mar 2026 19:59:04 -0800 Subject: [PATCH] Restore Open PR toast action after PR creation Co-authored-by: codex --- apps/web/src/components/GitActionsControl.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsx index 654ccc2aae..55115a3638 100644 --- a/apps/web/src/components/GitActionsControl.tsx +++ b/apps/web/src/components/GitActionsControl.tsx @@ -319,7 +319,7 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions const shouldOfferOpenPrCta = (action === "commit_push" || action === "commit_push_pr") && !!prUrl && - !actionIsDefaultBranch; + (result.pr.status === "created" || result.pr.status === "opened_existing"); const shouldOfferCreatePrCta = action === "commit_push" && !prUrl &&