This commit is contained in:
Joao Patricio
2023-05-12 19:42:39 +01:00
parent ee084b0bd4
commit 25815988d9
3 changed files with 28 additions and 4 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Http\Livewire\Server;
use App\Actions\Proxy\CheckProxySettingsInSync;
use App\Actions\Proxy\InstallProxy;
use App\Enums\ActivityTypes;
use App\Models\Server;
@@ -32,10 +33,9 @@ class Proxy extends Component
public function checkProxySettingsInSync()
{
$status = resolve(CheckProxySettingsInSync::class)($this->server);
$this->is_check_proxy_complete = true;
$this->is_proxy_settings_in_sync = true;
$this->is_proxy_settings_in_sync = $status === 'true';
}
public function render()