Przeglądaj źródła

Also remove nested options prop that was there due to bug

Torkel Ödegaard 6 lat temu
rodzic
commit
4c59a91651

+ 2 - 0
public/app/features/dashboard/state/DashboardMigrator.ts

@@ -399,6 +399,8 @@ export class DashboardMigrator {
             prefix: panel.options.prefix,
             suffix: panel.options.suffix,
           };
+          // this options prop was due to a bug
+          delete panel.options.options;
           delete panel.options.unit;
           delete panel.options.stat;
           delete panel.options.decimals;