summaryrefslogtreecommitdiffstats
path: root/static/table.html
diff options
context:
space:
mode:
authorUdo Walter2019-02-26 15:08:02 +0100
committerUdo Walter2019-02-26 15:08:02 +0100
commit93843f58080c5136f92638c3f1efb05be375646e (patch)
treec4eab4d7cbf32507c94ef5ca86aaa5c27aacbf15 /static/table.html
parenttable.html: vue.js zu vue.min.js (diff)
downloaddnbd3-status-93843f58080c5136f92638c3f1efb05be375646e.tar.gz
dnbd3-status-93843f58080c5136f92638c3f1efb05be375646e.tar.xz
dnbd3-status-93843f58080c5136f92638c3f1efb05be375646e.zip
table.html: fix ?peak not working
Diffstat (limited to 'static/table.html')
-rw-r--r--static/table.html4
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)
})
})