diff --git a/apps/web/src/components/SidebarV2.tsx b/apps/web/src/components/SidebarV2.tsx index 841dd1c071..1dcf3f3c4c 100644 --- a/apps/web/src/components/SidebarV2.tsx +++ b/apps/web/src/components/SidebarV2.tsx @@ -510,10 +510,9 @@ const SidebarV2Row = memo(function SidebarV2Row(props: { // pill (invariant I4). A freshly woken snoozed thread also keeps its explicit // user-action pill instead of being swallowed by monitor state. const isBlockedOrFailed = status === "approval" || status === "input" || status === "failed"; - const topStatus = - isWoke - ? baseTopStatus - : isMonitorReady && !isBlockedOrFailed + const topStatus = isWoke + ? baseTopStatus + : isMonitorReady && !isBlockedOrFailed ? { label: resolveMonitorReadyLabel(thread.monitor?.blockersSummary ?? ""), icon: "done" as const, @@ -530,8 +529,8 @@ const SidebarV2Row = memo(function SidebarV2Row(props: { label: "Monitoring stopped", icon: null, className: "text-muted-foreground/80", - } - : baseTopStatus; + } + : baseTopStatus; const gitCwd = thread.worktreePath ?? props.projectCwd; const gitStatus = useEnvironmentQuery(