Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: validate server navbar upated

Andras Bacsai907e52572c2f
diff --git a/app/Livewire/Server/Show.php b/app/Livewire/Server/Show.php
index 13ebc97d46..31abe8910e 100644
--- a/app/Livewire/Server/Show.php
+++ b/app/Livewire/Server/Show.php
@@ -11,6 +11,7 @@ class Show extends Component
use AuthorizesRequests;
public ?Server $server = null;
public $parameters = [];
+ protected $listeners = ['proxyStatusUpdated' => '$refresh'];
public function mount()
{
$this->parameters = get_route_parameters();
@@ -19,14 +20,13 @@ class Show extends Component
if (is_null($this->server)) {
return redirect()->route('server.index');
}
-
} catch (\Throwable $e) {
return handleError($e, $this);
}
}
public function submit()
{
- $this->dispatch('serverRefresh',false);
+ $this->dispatch('serverRefresh', false);
}
public function render()
{