diff --git a/frontend/src/lib/components/MetricsPanel.svelte b/frontend/src/lib/components/MetricsPanel.svelte index 38a424d..826bbca 100644 --- a/frontend/src/lib/components/MetricsPanel.svelte +++ b/frontend/src/lib/components/MetricsPanel.svelte @@ -213,6 +213,7 @@ }, }); + lastDataKey = ''; updateCharts(); } @@ -233,6 +234,7 @@ onMount(async () => { if (!available) return; + loadMetrics(); const mod = await import('chart.js/auto'); ChartJS = mod.Chart; diff --git a/frontend/src/routes/dashboard/capsules/[id]/+page.svelte b/frontend/src/routes/dashboard/capsules/[id]/+page.svelte index a8bfb4d..f7bc6d4 100644 --- a/frontend/src/routes/dashboard/capsules/[id]/+page.svelte +++ b/frontend/src/routes/dashboard/capsules/[id]/+page.svelte @@ -333,6 +333,7 @@ }, }); + lastDataKey = ''; updateCharts(); } @@ -376,6 +377,7 @@ if (!metricsAvailable) return; + loadMetrics(); const mod = await import('chart.js/auto'); ChartJS = mod.Chart;