Standalone action not hiding
I'm getting what feels like weird behaviour with an action. I'd like to conditionally hide the action but using
->hidden() just disables it.
->hidden() public function testAction(): Action
{
return Action::make('test')
->hidden()
->label('Test Action')
->action(fn () => dd('TODO'));
}