fix: change proxy view

This commit is contained in:
Andras Bacsai 2024-01-16 11:32:56 +01:00
parent c058c0a766
commit 22431eee9a
2 changed files with 1 additions and 2 deletions

View File

@ -33,7 +33,6 @@ public function change_proxy()
{
$this->server->proxy = null;
$this->server->save();
$this->dispatch('proxyStatusUpdated');
}
public function select_proxy($proxy_type)

View File

@ -3,7 +3,7 @@
<div class="flex gap-2">
<x-server.sidebar :server="$server" :parameters="$parameters" />
<div class="w-full">
@if ($server->proxyType() !== 'NONE' && $server->isFunctional())
@if ($server->isFunctional())
<livewire:server.proxy :server="$server" />
@endif
</div>