File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
workspaces/frontend/src/app/pages/Workspaces/Details Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 66 DescriptionListDescription ,
77} from '@patternfly/react-core/dist/esm/components/DescriptionList' ;
88import { Divider } from '@patternfly/react-core/dist/esm/components/Divider' ;
9+ import { Label } from '@patternfly/react-core/dist/esm/components/Label' ;
910import { WorkspacesWorkspace } from '~/generated/data-contracts' ;
1011
1112type WorkspaceDetailsOverviewProps = {
@@ -29,9 +30,11 @@ export const WorkspaceDetailsOverview: React.FunctionComponent<WorkspaceDetailsO
2930 < DescriptionListGroup >
3031 < DescriptionListTerm > Labels</ DescriptionListTerm >
3132 < DescriptionListDescription >
32- { Object . entries ( workspace . podTemplate . podMetadata . labels )
33- . map ( ( [ key , value ] ) => `${ key } =${ value } ` )
34- . join ( ', ' ) }
33+ { Object . entries ( workspace . podTemplate . podMetadata . labels ) . map ( ( [ key , value ] ) => (
34+ < Label key = { key } style = { { margin : '0.10rem' } } >
35+ { key } ={ value }
36+ </ Label >
37+ ) ) }
3538 </ DescriptionListDescription >
3639 </ DescriptionListGroup >
3740 < Divider />
You can’t perform that action at this time.
0 commit comments