From 6b81eaa65d0904e2c698214d1b3b92469193d114 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 3 May 2024 10:54:46 +0200 Subject: [PATCH] Fix server form to dispatch 'proxyStatusUpdated' event when server is reachable --- app/Livewire/Server/Form.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Livewire/Server/Form.php b/app/Livewire/Server/Form.php index 14a2809c7..c1dcd34ce 100644 --- a/app/Livewire/Server/Form.php +++ b/app/Livewire/Server/Form.php @@ -82,6 +82,7 @@ public function checkLocalhostConnection() $this->server->settings->is_reachable = true; $this->server->settings->is_usable = true; $this->server->settings->save(); + $this->dispatch('proxyStatusUpdated'); } else { $this->dispatch('error', 'Server is not reachable.', 'Please validate your configuration and connection.

Check this documentation for further help.

Error: ' . $error); return;