diff --git a/frontend/src/renderer/components/SessionsBoard.tsx b/frontend/src/renderer/components/SessionsBoard.tsx index cc0a850d3..9889faac1 100644 --- a/frontend/src/renderer/components/SessionsBoard.tsx +++ b/frontend/src/renderer/components/SessionsBoard.tsx @@ -14,6 +14,12 @@ import { prDiffSummary, sessionPRDisplaySummaries } from "../lib/pr-display"; import { cn } from "../lib/utils"; import { PRAttentionPanel, PRStatusStrip } from "./PRSummaryDisplay"; +const isLinux = + typeof navigator !== "undefined" && + ((navigator as Navigator & { userAgentData?: { platform?: string } }).userAgentData?.platform ?? navigator.platform) + .toLowerCase() + .includes("linux"); + type SessionsBoardProps = { /** When set, the board shows only this project's sessions. */ projectId?: string; @@ -127,7 +133,7 @@ export function SessionsBoard({ projectId }: SessionsBoardProps) { const actions = projectId ? ( <> - + {isLinux ? : null}