mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Use count instead of filled
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
|
||||
foreach ($actions as $action) {
|
||||
if ($action instanceof \Filament\Actions\ActionGroup && (! $action->hasDropdown())) {
|
||||
if (filled($actionList)) {
|
||||
if (count($actionList)) {
|
||||
$actionLists[] = $actionList;
|
||||
$actionList = [];
|
||||
}
|
||||
@@ -72,7 +72,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
if (filled($actionList)) {
|
||||
if (count($actionList)) {
|
||||
$actionLists[] = $actionList;
|
||||
}
|
||||
@endphp
|
||||
|
||||
Reference in New Issue
Block a user