Restore Open PR toast action after PR creation
Co-authored-by: codex <[email protected]>
This commit is contained in:
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 &&
|
||||
|
||||
Reference in new issue
Block a user