Explorar o código

fixed order of time range tab

Torkel Ödegaard %!s(int64=7) %!d(string=hai) anos
pai
achega
905ef22075
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      public/app/plugins/panel/graph/module.ts

+ 2 - 2
public/app/plugins/panel/graph/module.ts

@@ -133,12 +133,12 @@ class GraphCtrl extends MetricsPanelCtrl {
   }
 
   onInitEditMode() {
-    this.addEditorTab('Display', 'public/app/plugins/panel/graph/tab_display.html', 4);
     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.alertingEnabled) {
-      this.addEditorTab('Alert', alertTab, 6);
+      this.addEditorTab('Alert', alertTab, 5);
     }
 
     this.subTabIndex = 0;