mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Angular: Rename autoMigrateGraphPanels feature flag to autoMigrateOldPanels (#65243)
This commit is contained in:
@@ -237,13 +237,13 @@ export class PanelModel implements DataConfigSource, IPanelModel {
|
||||
|
||||
switch (this.type) {
|
||||
case 'graph':
|
||||
if (config.featureToggles?.autoMigrateGraphPanels || !config.angularSupportEnabled) {
|
||||
if (config.featureToggles?.autoMigrateOldPanels || !config.angularSupportEnabled) {
|
||||
this.autoMigrateFrom = this.type;
|
||||
this.type = 'timeseries';
|
||||
}
|
||||
break;
|
||||
case 'table-old':
|
||||
if (!config.angularSupportEnabled) {
|
||||
if (config.featureToggles?.autoMigrateOldPanels || !config.angularSupportEnabled) {
|
||||
this.autoMigrateFrom = this.type;
|
||||
this.type = 'table';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user