mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 16:14:42 +00:00
fix: update success message logic to only show when changes are made
This commit is contained in:
1 parent
61dcf8b4ac
commit
e4cc5c1178
2 files changed
+10
-10
No files matched your search
@@ -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