mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(dashlist): fix for entering dashboard list edit mode
This commit is contained in:
parent
37ff432f9d
commit
501f21b16c
@ -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 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
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', () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user