mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #12190 from yob-yob/wizard-hidden-step-issue
Fix: getComponents reset array keys after array_filter (Follow-up Fix of #11869)
This commit is contained in:
@@ -109,9 +109,9 @@ trait HasComponents
|
||||
return $components;
|
||||
}
|
||||
|
||||
return array_filter(
|
||||
return array_values(array_filter(
|
||||
$components,
|
||||
fn (Component $component) => $component->isVisible(),
|
||||
);
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user