Skip to content

Commit

Permalink
Merge pull request #892 from ghiculescu/patch-1
Browse files Browse the repository at this point in the history
Sort available groups alphabetically in UI
  • Loading branch information
jnunemaker authored Oct 29, 2024
2 parents 4b911dd + 8057c70 commit d010739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flipper/ui/views/feature.erb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<div class="col">
<select name="value" class="form-select">
<option value="">Select a group...</option>
<% @feature.disabled_groups.each do |group| %>
<% @feature.disabled_groups.sort_by(&:name).each do |group| %>
<option value="<%= group.name %>"><%= group.name %></option>
<% end %>
</select>
Expand Down

0 comments on commit d010739

Please sign in to comment.