fix "relay" status not showing

This commit is contained in:
lideming 2022-01-08 00:20:13 +08:00
parent 8fb29fa607
commit d0f9a45e8d

View File

@ -121,7 +121,7 @@ block net_content
a(href=nwurl + '/member/' + member.id + '/ipAssignments')
| IP assignment
td
if (peer && peer.latency != -1 && peer.versionMajor != -1)
if (peer && (peer.latency != -1 || peer.versionMajor != -1))
if (peer.latency != -1)
span(style='color: green;')
| ONLINE (v#{peer.version})