fix: regression in 5.4 after implementing workaround for 6.7

This commit is contained in:
Ivan Mikheykin
2020-05-24 15:08:23 +03:00
parent 129a37bda6
commit 48597eda59
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -266,8 +266,8 @@ class StatusHeatmapCtrl extends MetricsPanelCtrl {
// Quick workaround for 6.7 and 7.0+. There is no call to
// calculateInterval in updateTimeRange in those versions.
updateTimeRange() {
let ret = super.updateTimeRange();
updateTimeRange(datasource?: any) {
let ret = super.updateTimeRange(datasource);
this.calculateInterval();
return ret;
}