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:
parent
e395cf985f
commit
c1cf20822f
@ -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()}/>}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user