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.

Fix vSphere workload type toolbar

rcourtman917d29a7d88c
diff --git a/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts b/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts
index 8557a3fec3..6630f33429 100644
--- a/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts
+++ b/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts
@@ -276,6 +276,7 @@ describe('platform overview layout guardrails', () => {
expect(vmwarePageSurfaceSource).toContain('<WorkloadsSurface');
expect(vmwarePageSurfaceSource).toContain('forcedPlatform={VMWARE_PLATFORM_FILTER}');
expect(vmwarePageSurfaceSource).toContain('forcedViewMode="vm"');
+ expect(vmwarePageSurfaceSource).toContain('suppressTypeFilter');
expect(vmwarePageSurfaceSource).toContain('<VsphereDatastoresTable');
expect(vmwarePageSurfaceSource).toContain('<VsphereNetworksTable');
expect(vmwarePageSurfaceSource).toContain('<VsphereActivityTable');
diff --git a/frontend-modern/src/features/vmware/VmwarePageSurface.tsx b/frontend-modern/src/features/vmware/VmwarePageSurface.tsx
index b0f15e1c46..a494e11825 100644
--- a/frontend-modern/src/features/vmware/VmwarePageSurface.tsx
+++ b/frontend-modern/src/features/vmware/VmwarePageSurface.tsx
@@ -284,6 +284,7 @@ function VmwareOverview(props: VmwareOverviewProps) {
searchPlaceholder="Search vSphere VMs by name, host, cluster, or status"
searchEmptyMessage="Recent vSphere workload searches appear here."
statusOptions={VMWARE_WORKLOAD_STATUS_OPTIONS}
+ suppressTypeFilter
columnVisibility={workloadsState.workloadsFilterColumnVisibility()}
containerRuntimeFilter={workloadsState.containerRuntimeFilterConfig()}
hostFilter={undefined}