Sort panels by name
This commit is contained in:
parent
4dab23a099
commit
ab1a01bf65
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def present(name,
|
|||
rows[i] = _inherited_row(row, base_rows_from_pillar, ret)
|
||||
for row in rows:
|
||||
panels = row.get('panels', [])
|
||||
for i, panel in enumerate(panels):
|
||||
for i, panel in enumerate(sorted(panels)):
|
||||
panels[i] = _inherited_panel(panel, base_panels_from_pillar, ret)
|
||||
_auto_adjust_panel_spans(new_dashboard)
|
||||
_ensure_panel_ids(new_dashboard)
|
||||
|
|
Loading…
Reference in a new issue