Commit 501f21b1 by Torkel Ödegaard

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

parent 37ff432f
...@@ -8,7 +8,7 @@ import {UnknownPanel} from '../../plugins/panel/unknown/module'; ...@@ -8,7 +8,7 @@ import {UnknownPanel} from '../../plugins/panel/unknown/module';
var directiveModule = angular.module('grafana.directives'); var directiveModule = angular.module('grafana.directives');
/** @ngInject */ /** @ngInject */
function panelLoader($compile, dynamicDirectiveSrv, $http, $q, $injector, $templateCache) { function panelLoader($compile, $http, $q, $injector, $templateCache) {
return { return {
restrict: 'E', restrict: 'E',
scope: { scope: {
......
...@@ -28,6 +28,7 @@ class DashListCtrl extends PanelCtrl { ...@@ -28,6 +28,7 @@ class DashListCtrl extends PanelCtrl {
} }
initEditMode() { initEditMode() {
super.initEditMode();
this.modes = ['starred', 'search']; this.modes = ['starred', 'search'];
this.icon = "fa fa-star"; this.icon = "fa fa-star";
this.addEditorTab('Options', () => { this.addEditorTab('Options', () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment