11060: fix lint issues

This commit is contained in:
Ahmed Ejaz
2024-04-28 00:57:54 +05:00
committed by Rachel Arnould
parent 15ee4f6619
commit f386202ec2
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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(