From aec9fde90d8d7ec99a7f683014108b83a28343b1 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 11 Nov 2026 03:17:45 -0800 Subject: [PATCH] fix(cloud): JA-30 no '0 workspaces' next to the title on an empty list --- .../src/components/cloud-workspaces/CloudWorkspacesHome.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/components/cloud-workspaces/CloudWorkspacesHome.tsx b/src/renderer/src/components/cloud-workspaces/CloudWorkspacesHome.tsx index 61fbf91e067..7a6c51d8a52 100644 --- a/src/renderer/src/components/cloud-workspaces/CloudWorkspacesHome.tsx +++ b/src/renderer/src/components/cloud-workspaces/CloudWorkspacesHome.tsx @@ -259,8 +259,8 @@ export function CloudWorkspacesHome({ selfId={selfId} metaStale={stale} meta={ - state.status === 'ready' - ? // Why: no hours here. A sum over the listed workspaces isn't the team's month, and it + state.status === 'ready' && visible.length > 0 + ? // Why: no hours here. Empty: the empty card says so; no "0 workspaces" (JA-30). A sum over the listed workspaces isn't the team's month, and it // disagreed with Plan & billing and the account menu (JA-07). t('auto.components.cloudWorkspaces.listMetaCount', '{{count}} workspaces', { count: visible.length,