Closed raphaelcangucu closed 6 months ago
The new Filament version don't have the function isModalHidden, so I added this code:
isModalHidden
if (method_exists($action, 'isHidden')) { if ($action->isHidden()) { return false; } } if (method_exists($action, 'isModalHidden')) { if ($action->isModalHidden()) { return false; } }
On the trait HasAction to keep the compatibility with older or newer versions.
HasAction
Would love for this fix to get added!
Good catch. That's exactly what I'm looking for.
Not needed anyomore, the actual version fix it.
The new Filament version don't have the function
isModalHidden
, so I added this code:On the trait
HasAction
to keep the compatibility with older or newer versions.