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.

Use 3-tick Y-axis on Recovery activity chart

rcourtmane51580186a4f
diff --git a/frontend-modern/src/components/Recovery/RecoveryActivitySection.tsx b/frontend-modern/src/components/Recovery/RecoveryActivitySection.tsx
index dfe4d9fc64..859d24fa7a 100644
--- a/frontend-modern/src/components/Recovery/RecoveryActivitySection.tsx
+++ b/frontend-modern/src/components/Recovery/RecoveryActivitySection.tsx
@@ -285,9 +285,9 @@ function RecoveryActivitySectionContent(props: RecoveryActivitySectionProps): JS
<div class="relative">
<div class="grid grid-cols-[auto_minmax(0,1fr)] gap-2.5">
<div class="flex h-16 flex-col justify-between text-[10px] text-muted">
- <For each={[0, 1, 2, 3, 4]}>
+ <For each={[0, 1, 2]}>
{(step) => {
- const value = Math.round((props.timeline().axisMax * (4 - step)) / 4);
+ const value = Math.round((props.timeline().axisMax * (2 - step)) / 2);
return <span>{value}</span>;
}}
</For>