Merge pull request #14392 from grafana/14377-develop-graph-options

Removed graph side menu
This commit is contained in:
Torkel Ödegaard
2018-12-08 13:03:42 +01:00
committed by GitHub
6 changed files with 19 additions and 47 deletions

View File

@@ -12,7 +12,12 @@ function panelEditorTab(dynamicDirectiveSrv) {
},
directive: scope => {
const pluginId = scope.ctrl.pluginId;
const tabName = scope.editorTab.title.toLowerCase().replace(' ', '-');
const tabName = scope.editorTab.title
.toLowerCase()
.replace(' ', '-')
.replace('&', '')
.replace(' ', '')
.replace(' ', '-');
if (directiveCache[pluginId]) {
if (directiveCache[pluginId][tabName]) {