From f68f97d6ce4d4e4360b5f1f4b6ee6bea6109f4bd Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Tue, 3 Mar 2020 20:49:25 -0500 Subject: [PATCH] Fixed a couple of conditionals on the comparisons tab. --- js/layer/comparisons.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/layer/comparisons.js b/js/layer/comparisons.js index f630007..cc28e04 100644 --- a/js/layer/comparisons.js +++ b/js/layer/comparisons.js @@ -46,7 +46,7 @@ beestat.layer.comparisons.prototype.decorate_ = function(parent) { ]); // Scores and graph - if (thermostat_group.profile !== null) { + if (thermostat_group.temperature_profile !== null) { cards.push([ { 'card': new beestat.component.card.score.heat(), @@ -68,7 +68,9 @@ beestat.layer.comparisons.prototype.decorate_ = function(parent) { 'size': 12 } ]); + } + if (thermostat_group.profile !== null) { if (beestat.user.has_early_access() === true) { cards.push([ {