Commit 90d0e79e authored by Roland Schilter's avatar Roland Schilter Committed by GitHub
Browse files

Remove whitespace from empty connection lists (#2811)

parent c288d8c2
Showing with 2 additions and 2 deletions
+2 -2
......@@ -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}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment