Просмотр исходного кода

change(apps): config tab is now default for app plugins, fixes #4573

Torkel Ödegaard 9 лет назад
Родитель
Сommit
94729745dc
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      public/app/features/plugins/plugin_edit_ctrl.ts

+ 1 - 0
public/app/features/plugins/plugin_edit_ctrl.ts

@@ -47,6 +47,7 @@ export class PluginEditCtrl {
       });
 
       if (this.model.type === 'app') {
+        this.tabIndex = 1;
         this.tabs.push('Config');
 
         this.hasDashboards = _.findWhere(result.includes, {type: 'dashboard'});