From 22ccfdd98631b4b054909913721e1f764e6dbdda Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Tue, 31 Mar 2020 10:47:27 -0700 Subject: [PATCH] Fixed stats graph break when server not running. --- package.json | 2 +- views/default.handlebars | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9bab7495..85104b66 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.5.0-w", + "version": "0.5.0-x", "keywords": [ "Remote Management", "Intel AMT", diff --git a/views/default.handlebars b/views/default.handlebars index dc096a9b..c1c64e11 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -10924,6 +10924,7 @@ data.datasets[1].data.push({ x: serverTimelineStats[i].time - 1, y: NaN }); data.datasets[2].data.push({ x: serverTimelineStats[i].time - 1, y: NaN }); data.datasets[3].data.push({ x: serverTimelineStats[i].time - 1, y: NaN }); + data.datasets[4].data.push({ x: serverTimelineStats[i].time - 1, y: NaN }); } if (serverTimelineStats[i].conn) { data.datasets[0].data.push({ x: serverTimelineStats[i].time, y: serverTimelineStats[i].conn.ca });