mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
kindsys: Adapt to new PanelCfg schema interface (#65297)
* kindsys: Adapt to new PanelCfg schema interface * building locally * Remove Panel prefix in cue files * Regenerate * Update imports * fixup! Merge branch 'remove-panel-prefix' into sdboyer/redundant-panelcfg-prefixes * Fix formatting --------- Co-authored-by: Ryan McKinley <ryantxu@gmail.com> Co-authored-by: Tania B <yalyna.ts@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@ import { RefreshEvent } from '@grafana/runtime';
|
||||
import { PanelChrome } from '@grafana/ui';
|
||||
import { applyPanelTimeOverrides } from 'app/features/dashboard/utils/panel';
|
||||
import { PanelRenderer } from 'app/features/panel/components/PanelRenderer';
|
||||
import { PanelOptions } from 'app/plugins/panel/table/panelcfg.gen';
|
||||
import { Options } from 'app/plugins/panel/table/panelcfg.gen';
|
||||
|
||||
import PanelHeaderCorner from '../../dashgrid/PanelHeader/PanelHeaderCorner';
|
||||
import { getTimeSrv } from '../../services/TimeSrv';
|
||||
@@ -21,7 +21,7 @@ export interface Props {
|
||||
|
||||
export function PanelEditorTableView({ width, height, panel, dashboard }: Props) {
|
||||
const { data } = usePanelLatestData(panel, { withTransforms: true, withFieldConfig: false }, false);
|
||||
const [options, setOptions] = useState<PanelOptions>({
|
||||
const [options, setOptions] = useState<Options>({
|
||||
frameIndex: 0,
|
||||
showHeader: true,
|
||||
showTypeIcons: true,
|
||||
|
||||
Reference in New Issue
Block a user