Merge branch 'alerting_ui' of https://github.com/smalik03/grafana into smalik03-alerting_ui

This commit is contained in:
Torkel Ödegaard
2017-01-25 13:16:48 +01:00
5 changed files with 9 additions and 3 deletions

View File

@@ -132,7 +132,9 @@ 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);
this.addEditorTab('Alert', alertTab, 5);
if (config.showAlertingUI) {
this.addEditorTab('Alert', alertTab, 5);
}
this.subTabIndex = 0;
}