Skip to content
This repository was archived by the owner on Feb 14, 2026. It is now read-only.

Commit 4ae05da

Browse files
Add check for visible callback in getResourceTableVisibleActions
1 parent 39a9fd0 commit 4ae05da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Concerns/InteractsWithResources.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public function getResourceTableActions(): array
5959

6060
public function getResourceTableVisibleActions(): array
6161
{
62+
// TODO: Also add check for visible callback
6263
return array_filter($this->getResourceTableActions(), function (Action $action) {
6364
return ! $this->getPrivateProperty($action, 'isHidden');
6465
});

0 commit comments

Comments
 (0)