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.

Avoid repeating fallback target identity beside itself

pulse-triage[bot]c8db2bdbf6f6
diff --git a/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx
index 0ac5891816..5143b0f079 100644
--- a/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx
+++ b/frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsx
@@ -415,6 +415,9 @@ export function ProxmoxCoverageTable(props: {
<Show
when={
!columnVisible('targetId') &&
+ row.workload.name &&
+ row.workload.name.trim() !==
+ `${row.workload.typeLabel} ${row.workload.vmid}` &&
(row.workload.type === 'vm' || row.workload.type === 'ct')
}
>
diff --git a/frontend-modern/src/features/proxmox/__tests__/backupWorkloadIdentity.test.tsx b/frontend-modern/src/features/proxmox/__tests__/backupWorkloadIdentity.test.tsx
index 478ab2d425..8f768142a2 100644
--- a/frontend-modern/src/features/proxmox/__tests__/backupWorkloadIdentity.test.tsx
+++ b/frontend-modern/src/features/proxmox/__tests__/backupWorkloadIdentity.test.tsx
@@ -155,6 +155,7 @@ describe('backup workload identity in real inventory consumers', () => {
const vm = await screen.findByRole('button', {
name: 'Expand details for VM 100 · PVE connection: Not reported',
});
+ expect(vm.closest('tr')!.textContent?.match(/VM 100/g)).toHaveLength(1);
fireEvent.click(vm);
let detail = screen.getByTestId('proxmox-coverage-detail');
expect(connectionRow(detail)).toHaveTextContent('Not reported');