Jelajahi Sumber

Also remove nested options prop that was there due to bug

Torkel Ödegaard 7 tahun lalu
induk
melakukan
4c59a91651
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      public/app/features/dashboard/state/DashboardMigrator.ts

+ 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;