mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Do not text-overflow:ellipsis in Pod names
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
647e3cc5d0
commit
2545a40064
@ -29,6 +29,7 @@ import nodeApiInjectable from "../../../common/k8s-api/endpoints/node.api.inject
|
||||
import eventStoreInjectable from "../+events/store.injectable";
|
||||
import podStoreInjectable from "./store.injectable";
|
||||
import { NamespaceSelectBadge } from "../+namespaces/namespace-select-badge";
|
||||
import { Tooltip } from "../tooltip";
|
||||
|
||||
enum columnId {
|
||||
name = "name",
|
||||
@ -163,13 +164,14 @@ class NonInjectedPods extends React.Component<Dependencies> {
|
||||
{ title: "Status", className: "status", sortBy: columnId.status, id: columnId.status },
|
||||
]}
|
||||
renderTableContents={pod => [
|
||||
<Badge
|
||||
flat
|
||||
key="name"
|
||||
label={pod.getName()}
|
||||
tooltip={pod.getName()}
|
||||
expandable={false}
|
||||
/>,
|
||||
<>
|
||||
<span id={`list-pod-${pod.getId()}`}>
|
||||
{pod.getName()}
|
||||
</span>
|
||||
<Tooltip targetId={`list-pod-${pod.getId()}`}>
|
||||
{pod.getName()}
|
||||
</Tooltip>
|
||||
</>,
|
||||
<KubeObjectStatusIcon key="icon" object={pod} />,
|
||||
<NamespaceSelectBadge
|
||||
key="namespace"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user