diff options
author | Simon Rettberg | 2019-07-02 18:00:42 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-07-02 18:00:42 +0200 |
commit | 0fc5f7cf03bab91c6591d730550998a8d962f148 (patch) | |
tree | c21f6d473451973aaddd1d4916104c0c82289b11 /static | |
parent | Fix export of serverCount via data2.json (diff) | |
download | dnbd3-status-0fc5f7cf03bab91c6591d730550998a8d962f148.tar.gz dnbd3-status-0fc5f7cf03bab91c6591d730550998a8d962f148.tar.xz dnbd3-status-0fc5f7cf03bab91c6591d730550998a8d962f148.zip |
Fix client/server count
Diffstat (limited to 'static')
-rw-r--r-- | static/table.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/table.html b/static/table.html index 84dc81d..5f1b074 100644 --- a/static/table.html +++ b/static/table.html @@ -115,7 +115,7 @@ var app = new Vue({ const servers = Object.values(this.serverMap) servers.sort(this.compareObjectIps) servers.forEach(server => { - if (this.rawData.timestamp - server.timestamp > 6000) server.offline = true + server.offline = (this.rawData.timestamp - server.timestamp) > 6000 const clients = Object.values(server.clientMap) if (this.peak) { server.clients = clients.filter(client => client.peakUploadSpeed > 0) |