mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
Table: Fixed error going into new panel edit (#23594)
This commit is contained in:
@@ -157,12 +157,12 @@ export class ColumnOptionsCtrl {
|
||||
}
|
||||
}
|
||||
|
||||
export function columnOptionsTab(uiSegmentSrv: any) {
|
||||
export function columnOptionsTab() {
|
||||
'use strict';
|
||||
return {
|
||||
restrict: 'E',
|
||||
scope: true,
|
||||
templateUrl: 'public/app/plugins/panel/table/column_options.html',
|
||||
templateUrl: 'public/app/plugins/panel/table-old/column_options.html',
|
||||
controller: ColumnOptionsCtrl,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ export function tablePanelEditor(uiSegmentSrv: any) {
|
||||
return {
|
||||
restrict: 'E',
|
||||
scope: true,
|
||||
templateUrl: 'public/app/plugins/panel/table/editor.html',
|
||||
templateUrl: 'public/app/plugins/panel/table-old/editor.html',
|
||||
controller: TablePanelEditorCtrl,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@ import { tablePanelEditor } from './editor';
|
||||
import { columnOptionsTab } from './column_options';
|
||||
import { TableRenderer } from './renderer';
|
||||
import { isTableData, PanelEvents, PanelPlugin } from '@grafana/data';
|
||||
import { TemplateSrv } from 'app/features/templating/template_srv';
|
||||
import { dispatch } from 'app/store/store';
|
||||
import { ComponentType } from 'react';
|
||||
import { PanelProps } from '@grafana/data';
|
||||
@@ -56,7 +55,6 @@ export class TablePanelCtrl extends MetricsPanelCtrl {
|
||||
constructor(
|
||||
$scope: any,
|
||||
$injector: any,
|
||||
templateSrv: TemplateSrv,
|
||||
private annotationsSrv: any,
|
||||
private $sanitize: any,
|
||||
private variableSrv: any
|
||||
|
||||
Reference in New Issue
Block a user