Sha256: 8d9a57c8ee68039534591172677314173ab53db163c9dbe9e77032d28231c4b7

Contents?: true

Size: 429 Bytes

Versions: 9

Compression:

Stored size: 429 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Proposals
    module Admin
      module FilterableHelper
        def extra_dropdown_submenu_options_items(filter, i18n_scope)
          options = case filter
                    when :state_eq
                      content_tag(:li, filter_link_value(:state_null, true, i18n_scope))
                    end
          [options].compact
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-proposals-0.23.6 app/helpers/decidim/proposals/admin/filterable_helper.rb
decidim-proposals-0.23.5 app/helpers/decidim/proposals/admin/filterable_helper.rb
decidim-proposals-0.23.4 app/helpers/decidim/proposals/admin/filterable_helper.rb
decidim-proposals-0.23.3 app/helpers/decidim/proposals/admin/filterable_helper.rb
decidim-proposals-0.23.2 app/helpers/decidim/proposals/admin/filterable_helper.rb
decidim-proposals-0.23.1 app/helpers/decidim/proposals/admin/filterable_helper.rb
decidim-proposals-0.23.1.rc1 app/helpers/decidim/proposals/admin/filterable_helper.rb
decidim-proposals-0.23.0 app/helpers/decidim/proposals/admin/filterable_helper.rb
decidim-proposals-0.22.0 app/helpers/decidim/proposals/admin/filterable_helper.rb