Check for data to possibly fix Liquid test

This commit is contained in:
softsimon 2021-09-26 13:41:33 +04:00
parent 7ab1ce8fc4
commit 5695019216
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -30,6 +30,9 @@ export class LbtcPegsGraphComponent implements OnChanges {
) { }
ngOnChanges() {
if (!this.data) {
return;
}
this.pegsChartOptions = this.createChartOptions(this.data.series, this.data.labels);
}