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

This commit is contained in:
Torkel Ödegaard 2016-02-04 13:58:43 +01:00
parent 37ff432f9d
commit 501f21b16c
2 changed files with 2 additions and 1 deletions

View File

@ -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: {

View File

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