heatmap: fix error when series empty

This commit is contained in:
Alexander Zobnin
2019-03-11 11:58:15 +03:00
parent 9dbcc0fb6e
commit bef024e4eb

View File

@@ -146,7 +146,7 @@ export class HeatmapCtrl extends MetricsPanelCtrl {
}
onRender() {
if (!this.range) {
if (!this.range || !this.series) {
return;
}