Restore Open PR toast action after PR creation

Co-authored-by: codex <[email protected]>
This commit is contained in:
Julius Marmingeandcodex authored and Julius Marminge committed 2026-03-02 20:46:05 -08:00
1 parent 7a5ccd3310
commit 77c81b7468
1 file changed
+1 -1
@@ -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 &&