Skip to content

Commit

Permalink
Merge pull request #11 from lara-zeus/six-side-section
Browse files Browse the repository at this point in the history
Update ChaosForms.php
  • Loading branch information
atmonshi authored Apr 5, 2024
2 parents 5a5c646 + 3924901 commit dcfec16
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 @@ -71,7 +71,7 @@ public static function make(Form $form, array $schema, array $sideSections = [])
public static function showSideSection(string $operation, array $sideSections, Form $form): bool
{
return
($operation === 'edit' && (new $form->model)->usesTimestamps())
|| ! empty($sideSections);
! empty($sideSections)
&& ($operation === 'edit' && (new $form->model)->usesTimestamps());
}
}

0 comments on commit dcfec16

Please sign in to comment.