TypeScript
Omit empty push target and track branch in action deps
Julius Marminge0c26396f79b9
diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsxindex 001559c7c1c..ec945a595de 100644--- a/apps/web/src/components/GitActionsControl.tsx+++ b/apps/web/src/components/GitActionsControl.tsx@@ -232,7 +232,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProphasCustomCommitMessage: !!commitMessage?.trim(),hasWorkingTreeChanges: !!gitStatus?.hasWorkingTreeChanges,forcePushOnly: forcePushOnlyProgress,- pushTarget,+ ...(pushTarget ? { pushTarget } : {}),});const progressToastId = toastManager.add({type: "loading",@@ -325,6 +325,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp},[api,+ gitStatus?.branch,gitStatus?.hasWorkingTreeChanges,gitStatus?.openPr?.url,isDefaultBranch,