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.

Shorten Recovery inventory status column header

rcourtman86861959ff6c
diff --git a/frontend-modern/src/components/Recovery/RecoveryProtectedInventorySection.tsx b/frontend-modern/src/components/Recovery/RecoveryProtectedInventorySection.tsx
index abb77db26e..88ecdec6f6 100644
--- a/frontend-modern/src/components/Recovery/RecoveryProtectedInventorySection.tsx
+++ b/frontend-modern/src/components/Recovery/RecoveryProtectedInventorySection.tsx
@@ -382,7 +382,7 @@ export const RecoveryProtectedInventorySection: Component<
['type', getRecoveryArtifactColumnLabel('type', 'Item Type')],
['platform', getRecoveryArtifactColumnLabel('platform', 'Platform')],
['lastBackup', 'Latest Point'],
- ['outcome', 'Protection State'],
+ ['outcome', 'Status'],
] as const
).map(([column, label]) => (
<TableHead
diff --git a/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx b/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx
index bb9ae2f3b0..3417f3286a 100644
--- a/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx
+++ b/frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx
@@ -335,7 +335,7 @@ describe('Recovery', () => {
expect(within(inventoryTable).getByText('Item')).toBeInTheDocument();
expect(within(inventoryTable).getByText('Item Type')).toBeInTheDocument();
expect(within(inventoryTable).getByText('Platform')).toBeInTheDocument();
- expect(within(inventoryTable).getByText('Protection State')).toBeInTheDocument();
+ expect(within(inventoryTable).getByText('Status')).toBeInTheDocument();
expect(within(inventoryTable).queryByText('ITEM TYPE')).not.toBeInTheDocument();
expect(within(inventoryTable).queryByText('PLATFORM')).not.toBeInTheDocument();
expect(inventoryBody?.className).toContain('divide-y');