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