mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
11060: fix lint issues
This commit is contained in:
committed by
Rachel Arnould
parent
15ee4f6619
commit
f386202ec2
@@ -38,6 +38,6 @@ class SearchableDropdownComponent < ViewComponent::Base
|
||||
end
|
||||
|
||||
def remove_search_plugin?
|
||||
@should_remove_search_plugin ||= options.count < MINIMUM_OPTIONS_FOR_SEARCH_FILED
|
||||
@remove_search_plugin ||= options.count < MINIMUM_OPTIONS_FOR_SEARCH_FILED
|
||||
end
|
||||
end
|
||||
|
||||
@@ -89,8 +89,8 @@ class ProductsReflex < ApplicationReflex
|
||||
html: render(partial: "admin/products_v3/content",
|
||||
locals: { products: @products, pagy: @pagy, search_term: @search_term,
|
||||
producer_options: producers, producer_id: @producer_id,
|
||||
category_options: categories, tax_category_options:, category_id: @category_id,
|
||||
flashes: flash })
|
||||
category_options: categories, tax_category_options:,
|
||||
category_id: @category_id, flashes: flash })
|
||||
)
|
||||
|
||||
cable_ready.replace_state(
|
||||
|
||||
Reference in New Issue
Block a user