Skip to content

Commit d356044

Browse files
author
Yehudit Kerido
committed
feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces
Signed-off-by: Yehudit Kerido <yehudit.kerido@nokia.com>
1 parent 8e7a8c2 commit d356044

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
@@ -362,20 +362,21 @@ export const Workspaces: React.FunctionComponent = () => {
362362
<Td data-testid="workspace-name" dataLabel={columnNames.name}>
363363
{workspace.name}
364364
</Td>
365-
<Td dataLabel={columnNames.kind}>
366-
{kindLogoDict[workspace.kind] ? (
367-
<Tooltip content={workspace.kind}>
368-
<Brand
369-
src={kindLogoDict[workspace.kind]}
370-
alt={workspace.kind}
371-
style={{ width: '20px', height: '20px', cursor: 'pointer' }}
372-
/>
373-
</Tooltip>
374-
) : (
375-
<Tooltip content={workspace.kind}>
376-
<CodeIcon />
377-
</Tooltip>
378-
)}
365+
<Td dataLabel={columnNames.kind}>
366+
{kindLogoDict[workspace.workspace_kind.name] ? (
367+
<Tooltip content={workspace.workspace_kind.name}>
368+
<Brand
369+
src={kindLogoDict[workspace.workspace_kind.name]}
370+
alt={workspace.workspace_kind.name}
371+
style={{ width: '20px', height: '20px', cursor: 'pointer' }}
372+
/>
373+
</Tooltip>
374+
) : (
375+
<Tooltip content={workspace.workspace_kind.name}>
376+
<CodeIcon />
377+
</Tooltip>
378+
)}{' '}
379+
</Td>
379380
<Td dataLabel={columnNames.image}>
380381
{workspace.pod_template.image_config.current}
381382
</Td>

0 commit comments

Comments
 (0)