Check for data to possibly fix Liquid test
This commit is contained in:
		
							parent
							
								
									7ab1ce8fc4
								
							
						
					
					
						commit
						5695019216
					
				@ -30,6 +30,9 @@ export class LbtcPegsGraphComponent implements OnChanges {
 | 
				
			|||||||
  ) { }
 | 
					  ) { }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ngOnChanges() {
 | 
					  ngOnChanges() {
 | 
				
			||||||
 | 
					    if (!this.data) {
 | 
				
			||||||
 | 
					      return;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    this.pegsChartOptions = this.createChartOptions(this.data.series, this.data.labels);
 | 
					    this.pegsChartOptions = this.createChartOptions(this.data.series, this.data.labels);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user