diff --git a/public/app/features/dashboard/state/PanelModel.ts b/public/app/features/dashboard/state/PanelModel.ts index 0933c48546f..5d16a8cce74 100644 --- a/public/app/features/dashboard/state/PanelModel.ts +++ b/public/app/features/dashboard/state/PanelModel.ts @@ -140,10 +140,7 @@ export const autoMigrateAngular: Record = { 'grafana-singlestat-panel': 'stat', 'grafana-piechart-panel': 'piechart', 'grafana-worldmap-panel': 'geomap', -}; - -export const autoMigrateRemovedPanelPlugins: Record = { - 'heatmap-new': 'heatmap', // this was a temporary development panel that is now standard + 'natel-discrete-panel': 'state-timeline', }; export class PanelModel implements DataConfigSource, IPanelModel { diff --git a/public/app/features/dashboard/state/getPanelPluginToMigrateTo.ts b/public/app/features/dashboard/state/getPanelPluginToMigrateTo.ts index c21959c86ef..114466c87ec 100644 --- a/public/app/features/dashboard/state/getPanelPluginToMigrateTo.ts +++ b/public/app/features/dashboard/state/getPanelPluginToMigrateTo.ts @@ -1,10 +1,6 @@ -import { autoMigrateRemovedPanelPlugins, autoMigrateAngular } from './PanelModel'; +import { autoMigrateAngular } from './PanelModel'; export function getPanelPluginToMigrateTo(panel: any): string | undefined { - if (autoMigrateRemovedPanelPlugins[panel.type]) { - return autoMigrateRemovedPanelPlugins[panel.type]; - } - // Graph needs special logic as it can be migrated to multiple panels if (panel.type === 'graph') { if (panel.xaxis?.mode === 'series') {