Skip to content

Commit

Permalink
Update ChaosForms.php
Browse files Browse the repository at this point in the history
atmonshi committed Apr 25, 2024
1 parent ea478d4 commit 4627151
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
@@ -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());

0 comments on commit 4627151

Please sign in to comment.