fix: update success message logic to only show when changes are made

This commit is contained in:
Andras Bacsai
2025-12-27 15:24:09 +01:00
parent 61dcf8b4ac
commit e4cc5c1178
2 changed files with 10 additions and 10 deletions
@@ -193,8 +193,8 @@ class All extends Component
}
}
// Always show success message unless an error occurred
if (! $errorOccurred) {
// Only show success message if changes were actually made and no errors occurred
if ($changesMade && ! $errorOccurred) {
$this->dispatch('success', 'Environment variables updated.');
}
}