mirror of
https://github.com/mempool/mempool.git
synced 2025-09-27 18:17:14 +02:00
Check for data to possibly fix Liquid test
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user