mirror of
https://github.com/mempool/mempool.git
synced 2025-09-26 22:37:19 +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() {
|
||||
if (!this.data) {
|
||||
return;
|
||||
}
|
||||
this.pegsChartOptions = this.createChartOptions(this.data.series, this.data.labels);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user