mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-16 02:15:32 +00:00
fix: refresh server data before showing notification to ensure accurate proxy status
This commit is contained in:
1 parent
f4e5c195fe
commit
77dcabe51c
1 file changed
+1
@@ -118,6 +118,7 @@ class Navbar extends Component
|
|||||||
|
|
||||||
public function showNotification()
|
public function showNotification()
|
||||||
{
|
{
|
||||||
|
$this->server->refresh();
|
||||||
$this->proxyStatus = $this->server->proxy->status ?? 'unknown';
|
$this->proxyStatus = $this->server->proxy->status ?? 'unknown';
|
||||||
$forceStop = $this->server->proxy->force_stop ?? false;
|
$forceStop = $this->server->proxy->force_stop ?? false;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user