Skip to content

Commit

Permalink
hide movement controls when filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Dec 13, 2024
1 parent 92c5ffd commit b5aa03b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ See COPYRIGHT and LICENSE files for more details.
flex_layout(align_items: :center, justify_content: :space_between) do |row_container|
row_container.with_column(flex_layout: true, classes: "gap-2") do |title_container|
title_container.with_column do
render(Primer::OpenProject::DragHandle.new)
render(Primer::OpenProject::DragHandle.new(
data: { "projects--settings--border-box-filter-target": "hideWhenFiltering" }
))
end
title_container.with_column do
render(Primer::Beta::Link.new(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ def move_action(menu:, move_to:, label:, icon:)
href: move_admin_settings_project_life_cycle_step_definition_path(definition, move_to:),
form_arguments: {
method: :patch
},
data: {
"projects--settings--border-box-filter-target": "hideWhenFiltering"
}
) do |item|
item.with_leading_visual_icon(icon:)
Expand Down

0 comments on commit b5aa03b

Please sign in to comment.