Explorar el Código

fix(dashlist): fix for entering dashboard list edit mode

Torkel Ödegaard hace 10 años
padre
commit
501f21b16c

+ 1 - 1
public/app/features/panel/panel_loader.ts

@@ -8,7 +8,7 @@ import {UnknownPanel} from '../../plugins/panel/unknown/module';
 var directiveModule = angular.module('grafana.directives');
 
 /** @ngInject */
-function panelLoader($compile, dynamicDirectiveSrv, $http, $q, $injector, $templateCache) {
+function panelLoader($compile, $http, $q, $injector, $templateCache) {
   return {
     restrict: 'E',
     scope: {

+ 1 - 0
public/app/plugins/panel/dashlist/module.ts

@@ -28,6 +28,7 @@ class DashListCtrl extends PanelCtrl {
   }
 
   initEditMode() {
+    super.initEditMode();
     this.modes = ['starred', 'search'];
     this.icon = "fa fa-star";
     this.addEditorTab('Options', () => {