From 28de56f43f2f3c29259886c93999a79573dfff6b Mon Sep 17 00:00:00 2001 From: Paul Bellamy Date: Wed, 3 Feb 2016 12:34:52 +0000 Subject: [PATCH] just show the untruncated label in the tooltip on children --- .../node-details/node-details-table-node-link.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/client/app/scripts/components/node-details/node-details-table-node-link.js b/client/app/scripts/components/node-details/node-details-table-node-link.js index 3e2c1f5549..ac295f12d2 100644 --- a/client/app/scripts/components/node-details/node-details-table-node-link.js +++ b/client/app/scripts/components/node-details/node-details-table-node-link.js @@ -17,22 +17,16 @@ export default class NodeDetailsTableNodeLink extends React.Component { } render() { - const titleLines = [`${this.props.label} (${this.props.topologyId})`]; - this.props.metadata.forEach(data => { - titleLines.push(`${data.label}: ${data.value}`); - }); - const title = titleLines.join('\n'); - if (this.props.linkable) { return ( - {this.props.label} ); } return ( - + {this.props.label} );