Commit c59f5436 by Torkel Ödegaard Committed by GitHub

TablePanel: Do not include angular options in options when switching from angular panel (#24684)

parent 2b9cc8ba
......@@ -24,9 +24,10 @@ export const tablePanelChangedHandler = (
prevPluginId: string,
prevOptions: any
) => {
// Changing from angular singlestat
// Changing from angular table panel
if (prevPluginId === 'table-old' && prevOptions.angular) {
console.log('Migrating from angular table', panel);
// Todo write migration logic
}
return prevOptions;
return {};
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment