refactor(environment-variables): remove debug logging from bulk submit handling for cleaner code

This commit is contained in:
Andras Bacsai
2025-05-30 09:11:40 +02:00
parent 3804a7d765
commit 9480fc2b2f

View File

@@ -178,16 +178,6 @@ class All extends Component
}
}
// Debug information
\Log::info('Environment variables update status', [
'deletedCount' => $deletedCount,
'updatedCount' => $updatedCount,
'deletedPreviewCount' => $deletedPreviewCount ?? 0,
'updatedPreviewCount' => $updatedPreviewCount ?? 0,
'changesMade' => $changesMade,
'errorOccurred' => $errorOccurred,
]);
// Only show success message if changes were actually made and no errors occurred
if ($changesMade && ! $errorOccurred) {
$this->dispatch('success', 'Environment variables updated.');