Sha256: ae8c574dd2c95a20a31b3ba971b83bd69b2b542057388b95dba89c2c0d85fdb9

Contents?: true

Size: 332 Bytes

Versions: 147

Compression:

Stored size: 332 Bytes

Contents

<%
  icon = 'selector'

  if params[:sort_by] == field.id.to_s
    case params[:sort_direction]
      when 'asc'
        icon = 'sort-ascending'
      when 'desc'
        icon = 'sort-descending'
      end
  end
%>

<%= svg icon, class: 'inline-block fill-current text-gray-500 relative leading-none min-w-4 min-h-full ml-1 h-4' %>

Version data entries

147 entries across 147 versions & 1 rubygems

Version Path
avo-1.25.2 app/views/avo/partials/_sortable_component.html.erb
avo-1.25.1 app/views/avo/partials/_sortable_component.html.erb
avo-1.25.0 app/views/avo/partials/_sortable_component.html.erb
avo-1.24.2 app/views/avo/partials/_sortable_component.html.erb
avo-1.24.1 app/views/avo/partials/_sortable_component.html.erb
avo-1.24.0 app/views/avo/partials/_sortable_component.html.erb
avo-1.23.0 app/views/avo/partials/_sortable_component.html.erb
avo-1.22.4 app/views/avo/partials/_sortable_component.html.erb
avo-1.22.3 app/views/avo/partials/_sortable_component.html.erb
avo-1.22.2 app/views/avo/partials/_sortable_component.html.erb
avo-1.22.1 app/views/avo/partials/_sortable_component.html.erb
avo-1.22.1.pre.2 app/views/avo/partials/_sortable_component.html.erb
avo-1.22.1.pre.1 app/views/avo/partials/_sortable_component.html.erb
avo-1.22.0 app/views/avo/partials/_sortable_component.html.erb
avo-1.22.0.pre.1 app/views/avo/partials/_sortable_component.html.erb
avo-1.21.1.pre.1 app/views/avo/partials/_sortable_component.html.erb
avo-1.21.0 app/views/avo/partials/_sortable_component.html.erb
avo-1.20.2.pre.2 app/views/avo/partials/_sortable_component.html.erb
avo-1.20.2.pre.1 app/views/avo/partials/_sortable_component.html.erb
avo-1.21.0.pre.1 app/views/avo/partials/_sortable_component.html.erb