mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
changed var to const 2 (#13068)
* changed var to const * fixed typo created in last commit * added or empty object to options in prometheus/datasource
This commit is contained in:
committed by
Torkel Ödegaard
parent
5e0d0c5816
commit
a702603e7b
@@ -13,7 +13,7 @@ export class ThresholdFormCtrl {
|
||||
this.disabled = true;
|
||||
}
|
||||
|
||||
var unbindDestroy = $scope.$on('$destroy', () => {
|
||||
const unbindDestroy = $scope.$on('$destroy', () => {
|
||||
this.panelCtrl.editingThresholds = false;
|
||||
this.panelCtrl.render();
|
||||
unbindDestroy();
|
||||
@@ -58,7 +58,7 @@ export class ThresholdFormCtrl {
|
||||
}
|
||||
}
|
||||
|
||||
var template = `
|
||||
const template = `
|
||||
<div class="gf-form-group">
|
||||
<h5>Thresholds</h5>
|
||||
<p class="muted" ng-show="ctrl.disabled">
|
||||
|
||||
Reference in New Issue
Block a user