.Target [Closure] is not instantiable.

I received this error when I was trying to disabled a header action conditionally. Any idea how can I solve it?
Screenshot_2023-03-03_at_21.23.53.png
Was this page helpful?