From e4e517bffb3005c7e0a4a5bf0f87b3212c85ae85 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Tue, 26 Mar 2019 01:33:33 -0700 Subject: [PATCH] Fixed Intel AMT live chart. --- package.json | 2 +- views/default-min.handlebars | 2 +- views/default.handlebars | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e6956eba..b52ece0b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.3.1-g", + "version": "0.3.1-h", "keywords": [ "Remote Management", "Intel AMT", diff --git a/views/default-min.handlebars b/views/default-min.handlebars index 7ef941d7..32dedec6 100644 --- a/views/default-min.handlebars +++ b/views/default-min.handlebars @@ -1 +1 @@ - MeshCentral
{{{title}}}
{{{title2}}}

{{{logoutControl}}}

 

\ No newline at end of file + MeshCentral
{{{title}}}
{{{title2}}}

{{{logoutControl}}}

 

\ No newline at end of file diff --git a/views/default.handlebars b/views/default.handlebars index 356679ff..3983c704 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -7281,6 +7281,7 @@ serverTimelineConfig.data.datasets[1].data.push({ x: stats.time, y: stats.conn.cu }); serverTimelineConfig.data.datasets[2].data.push({ x: stats.time, y: stats.conn.us }); serverTimelineConfig.data.datasets[3].data.push({ x: stats.time, y: stats.conn.rs }); + if (stats.conn.am != null) { serverTimelineConfig.data.datasets[4].data.push({ x: stats.time, y: stats.conn.am }); } } else if (chartType == 1) { serverTimelineConfig.data.datasets[0].data.push({ x: stats.time, y: stats.mem.external / (1024 * 1024) }); serverTimelineConfig.data.datasets[1].data.push({ x: stats.time, y: stats.mem.heapUsed / (1024 * 1024) });