fix: refresh server data before showing notification to ensure accurate proxy status

This commit is contained in:
Andras Bacsai
2025-10-10 09:35:49 +02:00
parent f4e5c195fe
commit 77dcabe51c

View File

@@ -118,6 +118,7 @@ class Navbar extends Component
public function showNotification()
{
$this->server->refresh();
$this->proxyStatus = $this->server->proxy->status ?? 'unknown';
$forceStop = $this->server->proxy->force_stop ?? false;