Skip to content

Commit

Permalink
fix: undefined local variable or method resource for an instance of…
Browse files Browse the repository at this point in the history
… Avo::Index::TableRowComponent (#3290)
  • Loading branch information
Paul-Bob authored Oct 1, 2024
1 parent 134de10 commit 16ea40c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/avo/index/table_row_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Avo::Index::TableRowComponent < Avo::BaseComponent

attr_writer :header_fields

prop :resource, _Nilable(Avo::BaseResource)
prop :resource, _Nilable(Avo::BaseResource), reader: :public
prop :reflection, _Nilable(ActiveRecord::Reflection::AbstractReflection)
prop :parent_record, _Nilable(_Any)
prop :parent_resource, _Nilable(Avo::BaseResource)
Expand Down

0 comments on commit 16ea40c

Please sign in to comment.