git ssb

16+

Dominic / patchbay



Commit f60d984978b4572cce145f23bdb05cffdf813d2b

oops, missed one peers check

Dominic Tarr committed on 11/3/2016, 8:34:45 PM
Parent: 461891f5e7000d2ff9993e59870f71d69408cd36

Files changed

modules/network.jschanged
modules/network.jsView
@@ -117,11 +117,11 @@
117117 ' ',
118118 getType(peer),
119119 ' ',
120120 //TODO: show nicer details, with labels. etc.
121- peer.ping ? duration(peer.ping.rtt.mean) : '',
121 + peer.ping && peer.ping.rtt ? duration(peer.ping.rtt.mean) : '',
122122 ' ',
123- peer.ping ? duration(peer.ping.skew.mean) : '',
123 + peer.ping && peer.ping.skew ? duration(peer.ping.skew.mean) : '',
124124 h('label',
125125 {title: new Date(peer.stateChange).toString()},
126126 peer.stateChange && ('(' + human(new Date(peer.stateChange))) + ')')
127127 ),

Built with git-ssb-web