Skip to content

Commit

Permalink
add on frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
i25959341 committed Jul 2, 2018
1 parent 3ac1a29 commit 157e611
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions neo-interface/src/components/NodeInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,24 @@ class NodeInfo extends Component {
{data.p2p_tcp_status ? (
<div className="infoblock">
<h4>online</h4>
<h5>P2P Status</h5>
<h5>P2P TCP Status</h5>
</div>
) : (
<div className="infoblock">
<h4>offline</h4>
<h5>P2P Status</h5>
<h5>P2P TCP Status</h5>
</div>
)}

{data.p2p_ws_status ? (
<div className="infoblock">
<h4>online</h4>
<h5>P2P WS Status</h5>
</div>
) : (
<div className="infoblock">
<h4>offline</h4>
<h5>P2P WS Status</h5>
</div>
)}

Expand Down

0 comments on commit 157e611

Please sign in to comment.