mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
TablePanel: Do not include angular options in options when switching from angular panel (#24684)
This commit is contained in:
parent
2b9cc8ba30
commit
c59f5436c0
@ -24,9 +24,10 @@ export const tablePanelChangedHandler = (
|
|||||||
prevPluginId: string,
|
prevPluginId: string,
|
||||||
prevOptions: any
|
prevOptions: any
|
||||||
) => {
|
) => {
|
||||||
// Changing from angular singlestat
|
// Changing from angular table panel
|
||||||
if (prevPluginId === 'table-old' && prevOptions.angular) {
|
if (prevPluginId === 'table-old' && prevOptions.angular) {
|
||||||
console.log('Migrating from angular table', panel);
|
// Todo write migration logic
|
||||||
}
|
}
|
||||||
return prevOptions;
|
|
||||||
|
return {};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user