From d0f9a45e8d927296199573154cc6b7f2fddd4f9c Mon Sep 17 00:00:00 2001 From: lideming Date: Sat, 8 Jan 2022 00:20:13 +0800 Subject: [PATCH] fix "relay" status not showing --- src/views/network_detail.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/network_detail.pug b/src/views/network_detail.pug index 2517a32..b20e77a 100644 --- a/src/views/network_detail.pug +++ b/src/views/network_detail.pug @@ -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})