From ebff789f242165d7f97aac288b5c05ac2852e86c Mon Sep 17 00:00:00 2001 From: maria-rcks Date: Sun, 4 Oct 2026 12:20:09 +0000 Subject: [PATCH 1/2] fix(web): allow auto balance clicks after manual selections --- apps/web/src/components/BranchToolbar.tsx | 2 +- apps/web/src/components/BranchToolbarEnvironmentSelector.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/BranchToolbar.tsx b/apps/web/src/components/BranchToolbar.tsx index 7e7d4a71d7d6..6555fa8a379d 100644 --- a/apps/web/src/components/BranchToolbar.tsx +++ b/apps/web/src/components/BranchToolbar.tsx @@ -238,7 +238,7 @@ const MobileRunContextSelector = memo(function MobileRunContextSelector({ disabled={envLocked} closeOnClick onClick={() => { - if (autoEnvironmentLabel) onAutoEnvironment?.(); + onAutoEnvironment?.(); }} > diff --git a/apps/web/src/components/BranchToolbarEnvironmentSelector.tsx b/apps/web/src/components/BranchToolbarEnvironmentSelector.tsx index 89b3dbe07b9f..cb162d42739e 100644 --- a/apps/web/src/components/BranchToolbarEnvironmentSelector.tsx +++ b/apps/web/src/components/BranchToolbarEnvironmentSelector.tsx @@ -147,7 +147,7 @@ export const BranchToolbarEnvironmentSelector = memo(function BranchToolbarEnvir { - if (autoEnvironmentLabel) onAutoEnvironment?.(); + onAutoEnvironment?.(); }} > From 04eb562641ad3eab4accbdce55b9d7ca5da3660c Mon Sep 17 00:00:00 2001 From: maria-rcks Date: Sun, 4 Oct 2026 12:30:26 +0000 Subject: [PATCH 2/2] fix(web): revert unverified auto balance callback change --- apps/web/src/components/BranchToolbar.tsx | 2 +- apps/web/src/components/BranchToolbarEnvironmentSelector.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/BranchToolbar.tsx b/apps/web/src/components/BranchToolbar.tsx index 6555fa8a379d..7e7d4a71d7d6 100644 --- a/apps/web/src/components/BranchToolbar.tsx +++ b/apps/web/src/components/BranchToolbar.tsx @@ -238,7 +238,7 @@ const MobileRunContextSelector = memo(function MobileRunContextSelector({ disabled={envLocked} closeOnClick onClick={() => { - onAutoEnvironment?.(); + if (autoEnvironmentLabel) onAutoEnvironment?.(); }} > diff --git a/apps/web/src/components/BranchToolbarEnvironmentSelector.tsx b/apps/web/src/components/BranchToolbarEnvironmentSelector.tsx index cb162d42739e..89b3dbe07b9f 100644 --- a/apps/web/src/components/BranchToolbarEnvironmentSelector.tsx +++ b/apps/web/src/components/BranchToolbarEnvironmentSelector.tsx @@ -147,7 +147,7 @@ export const BranchToolbarEnvironmentSelector = memo(function BranchToolbarEnvir { - onAutoEnvironment?.(); + if (autoEnvironmentLabel) onAutoEnvironment?.(); }} >