mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 08:23:25 +00:00
fix: update success message logic to only show when changes are made
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user