Browse Source

Also remove nested options prop that was there due to bug

Torkel Ödegaard 7 năm trước cách đây
mục cha
commit
4c59a91651
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;