Skip to content

Commit

Permalink
no
Browse files Browse the repository at this point in the history
  • Loading branch information
rainerdema committed Nov 29, 2023
1 parent 9252923 commit 785f423
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
sortable: {
url: ->(option_type) { solidus_admin.move_option_type_path(option_type) },
param: 'position',
handle: '.handle'
},
) %>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,18 @@ def title

def columns
[
handle_column,
name_column,
presentation_column,
]
end

def handle_column
{
col: { class: "min-w-xs max-w-sm" },
header: :handle,
data: ->(_option_type) { component("ui/icon").new(name: 'draggable', class: 'w-5 h-5 cursor-pointer handle')}
}
end

def name_column
Expand Down

0 comments on commit 785f423

Please sign in to comment.