From 22431eee9afc8a695859e5192eb5565dbf6b9954 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 16 Jan 2024 11:32:56 +0100 Subject: [PATCH] fix: change proxy view --- app/Livewire/Server/Proxy.php | 1 - resources/views/livewire/server/proxy/show.blade.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Livewire/Server/Proxy.php b/app/Livewire/Server/Proxy.php index 79ddb203b..5825cf3fb 100644 --- a/app/Livewire/Server/Proxy.php +++ b/app/Livewire/Server/Proxy.php @@ -33,7 +33,6 @@ public function change_proxy() { $this->server->proxy = null; $this->server->save(); - $this->dispatch('proxyStatusUpdated'); } public function select_proxy($proxy_type) diff --git a/resources/views/livewire/server/proxy/show.blade.php b/resources/views/livewire/server/proxy/show.blade.php index a10113754..5d9523885 100644 --- a/resources/views/livewire/server/proxy/show.blade.php +++ b/resources/views/livewire/server/proxy/show.blade.php @@ -3,7 +3,7 @@
- @if ($server->proxyType() !== 'NONE' && $server->isFunctional()) + @if ($server->isFunctional()) @endif