heatmap: fix error when series empty
This commit is contained in:
@@ -146,7 +146,7 @@ export class HeatmapCtrl extends MetricsPanelCtrl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onRender() {
|
onRender() {
|
||||||
if (!this.range) {
|
if (!this.range || !this.series) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user