removed side menu from display options, kept overrides in display options, moved thresholds and time regions to its own section in visualization

This commit is contained in:
ijin08
2018-12-07 15:18:43 +01:00
parent fadabd997a
commit bd589b61bd
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]) {