Skip to content

Commit

Permalink
Sort the element Select List alphabetically
Browse files Browse the repository at this point in the history
At the moment the order of the elements are not in a specific order. It is easier to read if the order of the elements is alphabetically.
  • Loading branch information
kulturbande committed Feb 11, 2024
1 parent ab9cc52 commit 36187ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/alchemy/admin/elements_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def elements_for_select(elements)
Element.display_name_for(e["name"]),
e["name"]
]
end
end.sort
end
end
end
Expand Down

0 comments on commit 36187ad

Please sign in to comment.