fix(server): implement refreshServer method and update navbar event listener for improved server state management

This commit is contained in:
Andras Bacsai
2025-09-16 10:33:32 +02:00
parent 9bd80e4c07
commit f9ed02a0b7
2 changed files with 9 additions and 1 deletions

View File

@@ -310,6 +310,8 @@ class Show extends Component
$this->dispatch('info', 'Sentinel has been disabled as build servers cannot run Sentinel.');
}
$this->submit();
// Dispatch event to refresh the navbar
$this->dispatch('refreshServerShow');
} catch (\Throwable $e) {
return handleError($e, $this);
}