Skip to content

Commit

Permalink
Rename block variable to clarify it's actually used
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Jan 23, 2025
1 parent 79262cf commit c79e671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/partials/_commands_sidebar.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
- if versions_with_documentation_page.size > 1
%h4 Choose version
%select.version-selects.form-select.mb-3
- versions_with_documentation_page.reverse.group_by { status(_1) }.each do |status, _versions|
- versions_with_documentation_page.reverse.group_by { status(_1) }.each do |status, versions|
%optgroup{label: status}
- _versions.each do |version|
- versions.each do |version|
- selected = version == current_visible_version
- value = documentation_path(current_page_without_version, version)
%option{selected: selected, value: value}
Expand Down

0 comments on commit c79e671

Please sign in to comment.