Compare commits

...

3 Commits

Author SHA1 Message Date
Key Networks
74b551c250 fix-relay-status: jquery 3.4.1 -> 3.6.0 2022-01-08 13:56:03 +08:00
Key Networks
f034fa4105 fix-relay-status: Version bump 2022-01-08 13:49:22 +08:00
lideming
d0f9a45e8d fix "relay" status not showing 2022-01-08 00:20:13 +08:00
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "ztncui",
"version": "0.8.6",
"version": "0.8.7",
"private": true,
"scripts": {
"start": "node ./bin/www",
@ -19,7 +19,7 @@
"got": "^7.1.0",
"helmet": "^3.23.0",
"ip-address": "^5.8.9",
"jquery": "~3.4.1",
"jquery": "~3.6.0",
"morgan": "~1.9.1",
"node-persist": "^2.1.0",
"pug": "^3.0.2",

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})