refactor(): renaming alerting hide ui option, #7318

This commit is contained in:
Torkel Ödegaard
2017-01-25 13:32:26 +01:00
parent fee4846429
commit 40d39f8a3e
6 changed files with 10 additions and 8 deletions

View File

@@ -132,7 +132,8 @@ class GraphCtrl extends MetricsPanelCtrl {
this.addEditorTab('Axes', axesEditorComponent, 2);
this.addEditorTab('Legend', 'public/app/plugins/panel/graph/tab_legend.html', 3);
this.addEditorTab('Display', 'public/app/plugins/panel/graph/tab_display.html', 4);
if (config.showAlertingUI) {
if (config.alertingEnabled) {
this.addEditorTab('Alert', alertTab, 5);
}