| ... | ... | @@ -277,19 +277,19 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp |
| 277 | 277 | title: resultToast.title, |
| 278 | 278 | description: resultToast.description, |
| 279 | 279 | timeout: 0, |
| 280 | | ...(shouldOfferPushCta |
| 281 | | ? { |
| 282 | | actionProps: { |
| 283 | | children: "Push", |
| 284 | | onClick: () => { |
| 285 | | void runGitActionWithToast({ |
| 286 | | action: "commit_push", |
| 287 | | forcePushOnlyProgress: true, |
| 288 | | onConfirmed: closeResultToast, |
| 289 | | }); |
| 290 | | }, |
| 291 | | }, |
| 292 | | } |
| 280 | ...(shouldOfferPushCta |
| 281 | ? { |
| 282 | actionProps: { |
| 283 | children: "Push", |
| 284 | onClick: () => { |
| 285 | void runGitActionWithToast({ |
| 286 | action: "commit_push", |
| 287 | forcePushOnlyProgress: true, |
| 288 | onConfirmed: closeResultToast, |
| 289 | }); |
| 290 | }, |
| 291 | }, |
| 292 | } |
| 293 | 293 | : shouldOfferOpenPrCta |
| 294 | 294 | ? { |
| 295 | 295 | actionProps: { |