Update success messages

This commit is contained in:
Andras Bacsai committed 2024-02-22 14:53:42 +01:00
1 parent 592221b4bf
commit c7218f2856
32 files changed
+67 -57

No files matched your search

+2 -2
View File
@@ -64,7 +64,7 @@ class Form extends Component
refresh_server_connection($this->server->privateKey);
$this->validateServer(false);
$this->server->settings->save();
$this->dispatch('success', 'Server updated successfully.');
$this->dispatch('success', 'Server updated.');
} catch (\Throwable $e) {
return handleError($e, $this);
}
@@ -113,6 +113,6 @@ class Form extends Component
$this->server->settings->cleanup_after_percentage = $this->cleanup_after_percentage;
$this->server->settings->save();
$this->server->save();
$this->dispatch('success', 'Server updated successfully.');
$this->dispatch('success', 'Server updated.');
}
}