From ba5c9a377b0ad394c6f304c4c2a145c9f05f7d2f Mon Sep 17 00:00:00 2001 From: DanielZhang Date: Tue, 4 Nov 2025 10:07:06 +0800 Subject: [PATCH] only show workspaces for the k8s contexts if there are more than 1 workspaces --- sky/dashboard/src/components/infra.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sky/dashboard/src/components/infra.jsx b/sky/dashboard/src/components/infra.jsx index 4ed5f322c88..798b3f55b8d 100755 --- a/sky/dashboard/src/components/infra.jsx +++ b/sky/dashboard/src/components/infra.jsx @@ -223,8 +223,8 @@ export function InfrastructureSection({ // Get workspace information for this context const workspaces = contextWorkspaceMap[context] || []; const workspaceDisplay = - workspaces.length > 0 - ? ` (${workspaces.join(', ')})` + workspaces.length > 1 + ? ` (workspaces: ${workspaces.join(', ')})` : ''; return (