mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-22 07:49:47 +00:00
Merge pull request #101 from flant/fix_5_4_regression_query_undefined
fix: regression in 5.4 after implementing workaround for 6.7
This commit is contained in:
Vendored
+2
-2
@@ -411,8 +411,8 @@ System.register(["lodash", "./color_legend", "app/core/utils/kbn", "app/plugins/
|
|||||||
|
|
||||||
}, {
|
}, {
|
||||||
key: "updateTimeRange",
|
key: "updateTimeRange",
|
||||||
value: function updateTimeRange() {
|
value: function updateTimeRange(datasource) {
|
||||||
var ret = _get(_getPrototypeOf(StatusHeatmapCtrl.prototype), "updateTimeRange", this).call(this);
|
var ret = _get(_getPrototypeOf(StatusHeatmapCtrl.prototype), "updateTimeRange", this).call(this, datasource);
|
||||||
|
|
||||||
this.calculateInterval();
|
this.calculateInterval();
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -266,8 +266,8 @@ class StatusHeatmapCtrl extends MetricsPanelCtrl {
|
|||||||
|
|
||||||
// Quick workaround for 6.7 and 7.0+. There is no call to
|
// Quick workaround for 6.7 and 7.0+. There is no call to
|
||||||
// calculateInterval in updateTimeRange in those versions.
|
// calculateInterval in updateTimeRange in those versions.
|
||||||
updateTimeRange() {
|
updateTimeRange(datasource?: any) {
|
||||||
let ret = super.updateTimeRange();
|
let ret = super.updateTimeRange(datasource);
|
||||||
this.calculateInterval();
|
this.calculateInterval();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user