Skip to content

Commit

Permalink
Merge pull request #18 from lara-zeus/fix-side-sction
Browse files Browse the repository at this point in the history
\Update ChaosForms.php
  • Loading branch information
atmonshi authored Apr 25, 2024
2 parents d509b03 + 4627151 commit f25413e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Filament/ChaosResource/ChaosForms.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,6 @@ public static function make(Form $form, array $schema, array $sideSections = [])

public static function showSideSection(string $operation, array $sideSections, Form $form): bool
{
$visibleSideSections = [];
foreach ($sideSections as $sideSection) {
if ($sideSection->isVisible()) {
//$visibleSideSections[] = $sideSection;
}
}

return
! empty($sideSections)
|| ($operation === 'edit' && (new $form->model)->usesTimestamps());
Expand Down

0 comments on commit f25413e

Please sign in to comment.