diff --git a/app/Filament/Server/Pages/Console.php b/app/Filament/Server/Pages/Console.php index dc8488ee4..97cb6c9d1 100644 --- a/app/Filament/Server/Pages/Console.php +++ b/app/Filament/Server/Pages/Console.php @@ -141,8 +141,12 @@ class Console extends Page #[On('console-status')] public function receivedConsoleUpdate(?string $state = null): void { + /** @var Server $server */ + $server = Filament::getTenant(); + if ($state) { $this->status = ContainerStatus::from($state); + cache()->put("servers.$server->uuid.status", $this->status, now()->addSeconds(15)); } $this->cachedHeaderActions = [];