| ... | @@ -319,7 +319,7 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions | ... | @@ -319,7 +319,7 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions |
| 319 | const shouldOfferOpenPrCta = | 319 | const shouldOfferOpenPrCta = |
| 320 | (action === "commit_push" || action === "commit_push_pr") && | 320 | (action === "commit_push" || action === "commit_push_pr") && |
| 321 | !!prUrl && | 321 | !!prUrl && |
| 322 | !actionIsDefaultBranch; | 322 | (result.pr.status === "created" || result.pr.status === "opened_existing"); |
| 323 | const shouldOfferCreatePrCta = | 323 | const shouldOfferCreatePrCta = |
| 324 | action === "commit_push" && | 324 | action === "commit_push" && |
| 325 | !prUrl && | 325 | !prUrl && |