mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Panels: Add troubleshooting snapshot (#54417)
This commit is contained in:
@@ -10,6 +10,7 @@ import { getPanelStateForModel } from 'app/features/panel/state/selectors';
|
||||
import { StoreState } from 'app/types';
|
||||
|
||||
import { GetDataOptions } from '../../../query/state/PanelQueryRunner';
|
||||
import { DebugWizard } from '../DebugWizard/DebugWizard';
|
||||
import { usePanelLatestData } from '../PanelEditor/usePanelLatestData';
|
||||
|
||||
import { InspectContent } from './InspectContent';
|
||||
@@ -49,6 +50,10 @@ const PanelInspectorUnconnected = ({ panel, dashboard, plugin }: Props) => {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (defaultTab === InspectTab.Debug) {
|
||||
return <DebugWizard panel={panel} plugin={plugin} onClose={onClose} />;
|
||||
}
|
||||
|
||||
return (
|
||||
<InspectContent
|
||||
dashboard={dashboard}
|
||||
|
||||
Reference in New Issue
Block a user