diff options
author | Udo Walter | 2019-02-26 15:08:02 +0100 |
---|---|---|
committer | Udo Walter | 2019-02-26 15:08:02 +0100 |
commit | 93843f58080c5136f92638c3f1efb05be375646e (patch) | |
tree | c4eab4d7cbf32507c94ef5ca86aaa5c27aacbf15 /static | |
parent | table.html: vue.js zu vue.min.js (diff) | |
download | dnbd3-status-93843f58080c5136f92638c3f1efb05be375646e.tar.gz dnbd3-status-93843f58080c5136f92638c3f1efb05be375646e.tar.xz dnbd3-status-93843f58080c5136f92638c3f1efb05be375646e.zip |
table.html: fix ?peak not working
Diffstat (limited to 'static')
-rw-r--r-- | static/table.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/table.html b/static/table.html index 4b58b32..83b8a39 100644 --- a/static/table.html +++ b/static/table.html @@ -146,7 +146,7 @@ var app = new Vue({ Vue.set(this.serverMap, serverData.address, server) this.smoothie.addTimeSeries(server.graphLine, { lineWidth: 2, strokeStyle: server.graphColor }) } - server.log.push(serverData) + server.log.push(server) this.calcSpeed(server) server.graphLine.append(server.timestamp, server.uploadSpeed) @@ -157,7 +157,7 @@ var app = new Vue({ if (client) server.clientMap[clientData.address] = { ...client, ...clientData } else Vue.set(server.clientMap, clientData.address, { ...clientData, log: [] }) client = server.clientMap[clientData.address] - client.log.push(clientData) + client.log.push(client) this.calcSpeed(client) }) }) |