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