From d5e9604f500f3c95d53fbb32c004b15748650e50 Mon Sep 17 00:00:00 2001 From: maria-rcks Date: Tue, 27 Oct 2026 22:10:42 +0000 Subject: [PATCH] fix(web): composer strip drops the folder icon next to the machine icon --- apps/web/src/components/BranchToolbar.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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}