prohibitDestructiveCommands FilamentShield

This commit is contained in:
salam committed 2025-11-19 07:41:11 +01:00
1 parent 50a4b73fb7
commit a8c733b840
1 file changed
+1 -1
+1 -1
View File
@@ -37,7 +37,7 @@ class AppServiceProvider extends ServiceProvider
// Commands\SeederCommand::prohibit($this->app->isProduction());
// Commands\SuperAdminCommand::prohibit($this->app->isProduction());
// or prohibit the above commands all at once
// FilamentShield::prohibitDestructiveCommands($this->app->isProduction());
FilamentShield::prohibitDestructiveCommands($this->app->isProduction());
FilamentColor::register([
'danger' => Color::Red,