Merge pull request #819 from mempool/simon/lpeg-liquid-test
Check for data to possibly fix Liquid test
This commit is contained in:
commit
a3edaf17cc
@ -30,6 +30,9 @@ export class LbtcPegsGraphComponent implements OnChanges {
|
||||
) { }
|
||||
|
||||
ngOnChanges() {
|
||||
if (!this.data) {
|
||||
return;
|
||||
}
|
||||
this.pegsChartOptions = this.createChartOptions(this.data.series, this.data.labels);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user