TypeScript
fix: keep toast CTA git actions on the active feature branch
Julius Marminge882684a80cb7
diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsxindex 28a4f35e034..9e194b8899a 100644--- a/apps/web/src/components/GitActionsControl.tsx+++ b/apps/web/src/components/GitActionsControl.tsx@@ -342,6 +342,8 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActionsaction: "commit_push",forcePushOnlyProgress: true,onConfirmed: closeResultToast,+ statusOverride: actionStatus,+ isDefaultBranchOverride: actionIsDefaultBranch,});},},@@ -364,7 +366,11 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActionschildren: "Create PR",onClick: () => {closeResultToast();- void runGitActionWithToast({ action: "commit_push_pr" });+ void runGitActionWithToast({+ action: "commit_push_pr",+ statusOverride: actionStatus,+ isDefaultBranchOverride: actionIsDefaultBranch,+ });},},}