Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Remove animated transitions from I/O metrics

rcourtman5de564d945c6
diff --git a/frontend-modern/src/components/Dashboard/IOMetric.tsx b/frontend-modern/src/components/Dashboard/IOMetric.tsx
index c632ec0371..68873e181f 100644
--- a/frontend-modern/src/components/Dashboard/IOMetric.tsx
+++ b/frontend-modern/src/components/Dashboard/IOMetric.tsx
@@ -1,6 +1,5 @@
import { createMemo, Show, createEffect, createSignal } from 'solid-js';
import { formatSpeed } from '@/utils/format';
-import { AnimatedMetric } from '@/components/shared/AnimatedMetric';
interface IOMetricProps {
value: (() => number) | number;
@@ -42,7 +41,7 @@ export function IOMetric(props: IOMetricProps) {
fallback={<div class="min-h-[24px] flex items-center text-sm text-gray-400">-</div>}
>
<div class={`min-h-[24px] text-sm font-mono ${colorClass()} flex items-center`}>
- <AnimatedMetric value={currentValue()} formatter={(v) => formatSpeed(v, 0)} />
+ {formatSpeed(currentValue(), 0)}
</div>
</Show>
);