diff --git a/apps/web/src/components/BranchToolbar.tsx b/apps/web/src/components/BranchToolbar.tsx index d59cd1aa44997..6f87daabd2719 100644 --- a/apps/web/src/components/BranchToolbar.tsx +++ b/apps/web/src/components/BranchToolbar.tsx @@ -258,17 +258,7 @@ const RunContextSelector = memo(function RunContextSelector({ {autoEnvironmentLabel ?? activeEnvironment?.label ?? "Run on"} ); - const icon = !showEnvironmentIndicator ? ( - workspaceIcon - ) : isPanel ? ( - environmentIcon - ) : ( - // Button's SVG margins consume 4px of the gap; mx-0! restores the intended 2px. - - {environmentIcon} - {workspaceIcon} - - ); + const icon = showEnvironmentIndicator ? environmentIcon : workspaceIcon; const triggerContent = ( <> {icon}