mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-22 15:53:09 +00:00
fix: make it work in 6.7 and 7.0+
This commit is contained in:
+7
-7
@@ -83,13 +83,13 @@ coreModule.directive('statusHeatmapLegend', function() {
|
||||
}
|
||||
}
|
||||
|
||||
console.log("legent state:", {
|
||||
rangeFrom: rangeFrom,
|
||||
rangeTo: rangeTo,
|
||||
maxValue: maxValue,
|
||||
minValue: minValue,
|
||||
colorMode: panel.color.mode
|
||||
});
|
||||
// console.log("legend state:", {
|
||||
// rangeFrom: rangeFrom,
|
||||
// rangeTo: rangeTo,
|
||||
// maxValue: maxValue,
|
||||
// minValue: minValue,
|
||||
// colorMode: panel.color.mode
|
||||
// });
|
||||
|
||||
if (panel.color.mode === 'spectrum') {
|
||||
let colorScheme = _.find(ctrl.colorSchemes, {value: panel.color.colorScheme});
|
||||
|
||||
Reference in New Issue
Block a user