1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

removed extraneous <div> from pod container port details

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann 2020-07-30 16:32:14 -04:00
parent e395cf985f
commit c1cf20822f

View File

@ -64,17 +64,14 @@ export class PodDetailsContainer extends React.Component<Props> {
} }
{ports && ports.length > 0 && {ports && ports.length > 0 &&
<DrawerItem name={<Trans>Ports</Trans>}> <DrawerItem name={<Trans>Ports</Trans>}>
<div> {
{ ports.map((port) => {
ports.map((port) => { const key = `${container.name}-port-${port.containerPort}-${port.protocol}`
const key = `${container.name}-port-${port.containerPort}-${port.protocol}` return(
return( <PodContainerPort pod={pod} port={port} key={key}/>
<PodContainerPort pod={pod} port={port} key={key}/> )
) })
}) }
}
</div>
</DrawerItem> </DrawerItem>
} }
{<ContainerEnvironment container={container} namespace={pod.getNs()}/>} {<ContainerEnvironment container={container} namespace={pod.getNs()}/>}