The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 14:30 UTC
fix(web): composer strip drops the folder icon next to the machine icon (#26158)
maria committed
Oct 28, 2026 at 00:57 UTC
06d4b57fa6fe0317e04ad4e53f0e8935c5dcaabb
1 file changed
+1
-11
apps/web/src/components/BranchToolbar.tsx
+1
-11
@@ -258,17 +258,7 @@ const RunContextSelector = memo(function RunContextSelector({
258
<TooltipPopup>{autoEnvironmentLabel ?? activeEnvironment?.label ?? "Run on"}</TooltipPopup>
259
</Tooltip>
260
);
261
- const icon = !showEnvironmentIndicator ? (
262
- workspaceIcon
263
- ) : isPanel ? (
264
- environmentIcon
265
- ) : (
266
- // Button's SVG margins consume 4px of the gap; mx-0! restores the intended 2px.
267
- <span className="inline-flex shrink-0 items-center gap-0.5">
268
- {environmentIcon}
269
- {workspaceIcon}
270
- </span>
271
- );
261
+ const icon = showEnvironmentIndicator ? environmentIcon : workspaceIcon;
262
const triggerContent = (
263
<>
264
{icon}