diff --git a/src/Filament/ChaosResource/ChaosForms.php b/src/Filament/ChaosResource/ChaosForms.php index 9b723e2..f772f30 100644 --- a/src/Filament/ChaosResource/ChaosForms.php +++ b/src/Filament/ChaosResource/ChaosForms.php @@ -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()); } }