Added tooltipOnParentHover to taint tooltip on nodes list page (#3939)

Co-authored-by: gabriel.henriques gabriel.henriques <gabriel.henriques@g.globo>
This commit is contained in:
Gabriel Henriquesandgabriel.henriques gabriel.henriques authored and GitHub committed 2021-10-04 13:15:08 -04:00
1 parent 1d045ec62c
commit 2ff91b0ecf
1 file changed
+1 -1
+1 -1
View File
@@ -236,7 +236,7 @@ export class Nodes extends React.Component<Props> {
this.renderDiskUsage(node),
<>
<span id={tooltipId}>{node.getTaints().length}</span>
<Tooltip targetId={tooltipId} style={{ whiteSpace: "pre-line" }}>
<Tooltip targetId={tooltipId} tooltipOnParentHover={true} style={{ whiteSpace: "pre-line" }}>
{node.getTaints().map(({ key, effect }) => `${key}: ${effect}`).join("\n")}
</Tooltip>
</>,