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:
Dan Harrin
2024-04-05 19:24:08 +01:00
committed by GitHub
@@ -109,9 +109,9 @@ trait HasComponents
return $components;
}
return array_filter(
return array_values(array_filter(
$components,
fn (Component $component) => $component->isVisible(),
);
));
}
}