mirror of
				https://github.com/beestat/app.git
				synced 2025-11-03 18:37:01 -05:00 
			
		
		
		
	Fixed a couple of conditionals on the comparisons tab.
This commit is contained in:
		
							parent
							
								
									95c9281ace
								
							
						
					
					
						commit
						f68f97d6ce
					
				@ -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([
 | 
			
		||||
        {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user