Skip to content

Commit

Permalink
Remove whitespace from empty connection lists (#2811)
Browse files Browse the repository at this point in the history
  • Loading branch information
rndstr authored Aug 14, 2017
1 parent c288d8c commit 90d0e79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/app/scripts/components/node-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ class NodeDetails extends React.Component {
<NodeDetailsInfo rows={details.metadata} matches={nodeMatches.get('metadata')} />
</div>}

{details.connections && details.connections.map(connections => (
<div className="node-details-content-section" key={connections.id}>
{details.connections && details.connections.filter(cs => cs.connections.length > 0)
.map(connections => (<div className="node-details-content-section" key={connections.id}>
<NodeDetailsTable
{...connections}
nodes={connections.connections}
Expand Down

0 comments on commit 90d0e79

Please sign in to comment.