From d0ddf3957495d2985b7695e385d2b05c6588c4d1 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Sun, 14 Jan 2018 15:12:04 -0600 Subject: [PATCH] feature(network): show num of nodes and num of channels the node can see on the network map --- app/routes/network/components/Network.js | 9 +++++++++ app/routes/network/components/Network.scss | 18 ++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/app/routes/network/components/Network.js b/app/routes/network/components/Network.js index 22feae30..032fedd4 100644 --- a/app/routes/network/components/Network.js +++ b/app/routes/network/components/Network.js @@ -88,6 +88,15 @@ class Network extends Component { return (
+ { + !network.networkLoading && +
+ {network.nodes.length} nodes + | + {network.edges.length} channels +
+ } +