Skip to content

Commit

Permalink
Fix typo in sort_by_field_component.html.erb
Browse files Browse the repository at this point in the history
  • Loading branch information
klaustopher authored May 17, 2024
1 parent ca14656 commit e6829ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/queries/sort_by_field_component.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= render(Primer::OpenProject::FlexLayout.new(test_selector: 'sort-by-field' })) do |flex| %>
<%= render(Primer::OpenProject::FlexLayout.new(test_selector: 'sort-by-field')) do |flex| %>
<% flex.with_column(flex: 1) do %>
<%#- We are just using the classes of the primer component here, because when using the primer component, we cannot detach the input element from the form %>
<%#- The form="none" adds the input to a nonexistant form (as we do not have one with the ID="none" and thus the fields to not get appended to the query string %>
Expand Down

0 comments on commit e6829ed

Please sign in to comment.