app/components/olivander/components/table_portlet_component.rb in five-two-nw-olivander-0.1.2.43.a vs app/components/olivander/components/table_portlet_component.rb in five-two-nw-olivander-0.1.2.43
- old
+ new
@@ -17,11 +17,9 @@
@header_background = options[:header_background]
@turbo_frame = options[:turbo_frame]
@max_height = options[:max_height]
@headers = options[:headers].nil? ? true : options[:headers]
@id = options[:id]
- @card_data = options[:card_data]
- @turbo_frame_data = options[:turbo_frame_data]
end
class TableComponent < ViewComponent::Base
with_collection_parameter :item
delegate :can?, :cannot?, to: :helpers