mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
TextPanel: Removes text mode (#25589)
This commit is contained in:
@@ -11,5 +11,9 @@ export const textPanelMigrationHandler = (panel: PanelModel<TextOptions>): Parti
|
||||
return { content, mode };
|
||||
}
|
||||
|
||||
return panel.options as TextOptions;
|
||||
if (panel.options.mode === 'text') {
|
||||
return { content: panel.options.content, mode: 'markdown' };
|
||||
}
|
||||
|
||||
return panel.options;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user