From 146f14058c33e99445a9072fb9898fe0016ed8b7 Mon Sep 17 00:00:00 2001 From: Paul Bob <69730720+Paul-Bob@users.noreply.github.com> Date: Mon, 4 Nov 2024 10:14:21 +0200 Subject: [PATCH] Update lib/avo/filters/base_filter.rb --- lib/avo/filters/base_filter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/avo/filters/base_filter.rb b/lib/avo/filters/base_filter.rb index ca7ff29d9..a2014b7ed 100644 --- a/lib/avo/filters/base_filter.rb +++ b/lib/avo/filters/base_filter.rb @@ -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