Explorar el Código

Also remove nested options prop that was there due to bug

Torkel Ödegaard hace 7 años
padre
commit
4c59a91651
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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;