Skip to content

Commit

Permalink
Update lib/avo/filters/base_filter.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob authored Nov 4, 2024
1 parent 6536406 commit 146f140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/avo/filters/base_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ def visible_in_view(resource: nil, parent_resource: nil)
end

def name
Avo::ExecutionContext.new(target: self.class.name).handle
Avo::ExecutionContext.new(target: self.class.name, arguments: @arguments).handle
end

def button_label
Avo::ExecutionContext.new(target: self.class.button_label).handle
Avo::ExecutionContext.new(target: self.class.button_label, arguments: @arguments).handle
end
end
end
Expand Down

0 comments on commit 146f140

Please sign in to comment.