1
0
mirror of https://github.com/beestat/app.git synced 2025-07-09 03:04:07 -04:00

Fixed a couple of conditionals on the comparisons tab.

This commit is contained in:
Jon Ziebell 2020-03-03 20:49:25 -05:00
parent 95c9281ace
commit f68f97d6ce

View File

@ -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([
{