fix: refresh server data before showing notification to ensure accurate proxy status
This commit is contained in:
parent
f4e5c195fe
commit
77dcabe51c
1 changed files with 1 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ public function checkProxyStatus()
|
||||||
|
|
||||||
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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue