Skip to content

Commit

Permalink
Merge pull request #17 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 3490256 + ea478d4 commit d509b03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Filament/ChaosResource/ChaosForms.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ public static function showSideSection(string $operation, array $sideSections, F
$visibleSideSections = [];
foreach ($sideSections as $sideSection) {
if ($sideSection->isVisible()) {
$visibleSideSections[] = $sideSection;
//$visibleSideSections[] = $sideSection;
}
}

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

0 comments on commit d509b03

Please sign in to comment.