From 2a5e1f483855bb675dff4585f40340452b07df6c Mon Sep 17 00:00:00 2001 From: ShadowArcanist <162910371+ShadowArcanist@users.noreply.github.com> Date: Tue, 14 Apr 2026 19:05:40 +0530 Subject: [PATCH] fix(ui): server metrics charts were not loading after enabling metrics --- app/Livewire/Server/Charts.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Livewire/Server/Charts.php b/app/Livewire/Server/Charts.php index c09c11b60..7c555959f 100644 --- a/app/Livewire/Server/Charts.php +++ b/app/Livewire/Server/Charts.php @@ -43,6 +43,7 @@ public function toggleMetrics() if ($this->server->isMetricsEnabled()) { StartSentinel::run($this->server, true); $this->dispatch('success', 'Metrics enabled. Restarting Sentinel.'); + $this->redirect(route('server.metrics', ['server_uuid' => $this->server->uuid]), navigate: true); } else { $this->server->restartSentinel(); $this->dispatch('success', 'Metrics disabled. Restarting Sentinel.');