mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: ReactPanelPlugin to VizPanelPlugin (#16779)
* Plugins: ReactPanelPlugin renamed * Plugins: renamed PanelPlugin to PanelPluginMeta and VizPanelPlugin to PanelPlugin
This commit is contained in:
@@ -4,7 +4,7 @@ import config from 'app/core/config';
|
||||
import { DashboardModel } from '../../state/DashboardModel';
|
||||
import DatasourceSrv from 'app/features/plugins/datasource_srv';
|
||||
import { PanelModel } from 'app/features/dashboard/state';
|
||||
import { PanelPlugin } from 'app/types/plugins';
|
||||
import { PanelPluginMeta } from 'app/types/plugins';
|
||||
|
||||
interface Input {
|
||||
name: string;
|
||||
@@ -119,7 +119,7 @@ export class DashboardExporter {
|
||||
}
|
||||
}
|
||||
|
||||
const panelDef: PanelPlugin = config.panels[panel.type];
|
||||
const panelDef: PanelPluginMeta = config.panels[panel.type];
|
||||
if (panelDef) {
|
||||
requires['panel' + panelDef.id] = {
|
||||
type: 'panel',
|
||||
|
||||
Reference in New Issue
Block a user