mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-21 23:42:03 +00:00
fix: regression in 5.4 after implementing workaround for 6.7
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user