diff --git a/hyperglass/ui/components/BGPTable.js b/hyperglass/ui/components/BGPTable.js index e20580b..dd20a2f 100644 --- a/hyperglass/ui/components/BGPTable.js +++ b/hyperglass/ui/components/BGPTable.js @@ -59,18 +59,6 @@ const makeColumns = fields => { }); }; -// const longestASNLength = asPath => { -// if (asPath.length === 0) { -// return 0 -// } -// const longest = asPath.reduce((l, c) => { -// const strLongest = String(l); -// const strCurrent = String(c); -// return strCurrent.length > strLongest.length ? strCurrent : strLongest; -// }); -// return longest.length; -// }; - const MonoField = ({ v, ...props }) => ( {v} @@ -163,13 +151,14 @@ const Communities = ({ communities }) => { - {communities.map(c => ( - - ))} + {communities.join("\n")} )); diff --git a/hyperglass/ui/components/Result.js b/hyperglass/ui/components/Result.js index 4a59fc0..a53cc88 100644 --- a/hyperglass/ui/components/Result.js +++ b/hyperglass/ui/components/Result.js @@ -213,7 +213,7 @@ const Result = React.forwardRef( "-ms-overflow-style": { display: "none" } })(theme)} > - +