Skip to content

Commit 9ba35a6

Browse files
author
Yehudit Kerido
committed
feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces
Signed-off-by: Yehudit Kerido <[email protected]>
1 parent 6aac5ce commit 9ba35a6

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

workspaces/frontend/src/app/pages/Workspaces/Workspaces.tsx

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -361,20 +361,21 @@ export const Workspaces: React.FunctionComponent = () => {
361361
<Td data-testid="workspace-name" dataLabel={columnNames.name}>
362362
{workspace.name}
363363
</Td>
364-
<Td dataLabel={columnNames.kind}>
365-
{kindLogoDict[workspace.kind] ? (
366-
<Tooltip content={workspace.kind}>
367-
<Brand
368-
src={kindLogoDict[workspace.kind]}
369-
alt={workspace.kind}
370-
style={{ width: '20px', height: '20px', cursor: 'pointer' }}
371-
/>
372-
</Tooltip>
373-
) : (
374-
<Tooltip content={workspace.kind}>
375-
<CodeIcon />
376-
</Tooltip>
377-
)}
364+
<Td dataLabel={columnNames.kind}>
365+
{kindLogoDict[workspace.workspace_kind.name] ? (
366+
<Tooltip content={workspace.workspace_kind.name}>
367+
<Brand
368+
src={kindLogoDict[workspace.workspace_kind.name]}
369+
alt={workspace.workspace_kind.name}
370+
style={{ width: '20px', height: '20px', cursor: 'pointer' }}
371+
/>
372+
</Tooltip>
373+
) : (
374+
<Tooltip content={workspace.workspace_kind.name}>
375+
<CodeIcon />
376+
</Tooltip>
377+
)}{' '}
378+
</Td>
378379
<Td dataLabel={columnNames.image}>
379380
{workspace.pod_template.image_config.current}
380381
</Td>

0 commit comments

Comments
 (0)