removed extraneous <div> from pod container port details

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann committed 2020-07-30 16:32:14 -04:00
1 parent e395cf985f
commit c1cf20822f
1 file changed
+8 -11
@@ -64,17 +64,14 @@ export class PodDetailsContainer extends React.Component<Props> {
}
{ports && ports.length > 0 &&
<DrawerItem name={<Trans>Ports</Trans>}>
<div>
{
ports.map((port) => {
const key = `${container.name}-port-${port.containerPort}-${port.protocol}`
return(
<PodContainerPort pod={pod} port={port} key={key}/>
)
})
}
</div>
{
ports.map((port) => {
const key = `${container.name}-port-${port.containerPort}-${port.protocol}`
return(
<PodContainerPort pod={pod} port={port} key={key}/>
)
})
}
</DrawerItem>
}
{<ContainerEnvironment container={container} namespace={pod.getNs()}/>}