mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixing array direction, adding simple render test, fixes #15478
Fixed unit test and updated gauge Added migration for threshold order
This commit is contained in:
committed by
Torkel Ödegaard
parent
2afd3cf5aa
commit
93e8edfddd
@@ -399,6 +399,12 @@ export class DashboardMigrator {
|
||||
prefix: panel.options.prefix,
|
||||
suffix: panel.options.suffix,
|
||||
};
|
||||
|
||||
// correct order
|
||||
if (panel.options.thresholds) {
|
||||
panel.options.thresholds.reverse();
|
||||
}
|
||||
|
||||
// this options prop was due to a bug
|
||||
delete panel.options.options;
|
||||
delete panel.options.unit;
|
||||
|
||||
Reference in New Issue
Block a user