diff --git a/app/Livewire/Server/Form.php b/app/Livewire/Server/Form.php index 2c96a4f16..7c176c952 100644 --- a/app/Livewire/Server/Form.php +++ b/app/Livewire/Server/Form.php @@ -203,10 +203,10 @@ class Form extends Component } refresh_server_connection($this->server->privateKey); $this->server->settings->wildcard_domain = $this->wildcard_domain; - if ($this->server->settings->force_server_cleanup) { - $this->server->settings->server_cleanup_frequency = $this->server->settings->server_cleanup_frequency; + if ($this->server->settings->force_docker_cleanup) { + $this->server->settings->docker_cleanup_frequency = $this->server->settings->docker_cleanup_frequency; } else { - $this->server->settings->server_cleanup_threshold = $this->server->settings->server_cleanup_threshold; + $this->server->settings->docker_cleanup_threshold = $this->server->settings->docker_cleanup_threshold; } $this->server->settings->save(); $this->server->save();