Skip to content

Commit daf6d03

Browse files
[Dashboard] Only show workspaces for the k8s contexts if there are more than 1 workspaces (#7845)
only show workspaces for the k8s contexts if there are more than 1 workspaces
1 parent f6c9429 commit daf6d03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sky/dashboard/src/components/infra.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ export function InfrastructureSection({
223223
// Get workspace information for this context
224224
const workspaces = contextWorkspaceMap[context] || [];
225225
const workspaceDisplay =
226-
workspaces.length > 0
227-
? ` (${workspaces.join(', ')})`
226+
workspaces.length > 1
227+
? ` (workspaces: ${workspaces.join(', ')})`
228228
: '';
229229

230230
return (

0 commit comments

Comments
 (0)