From 52df56b19da8e0bcb6c2e5df47b7936ec63f3149 Mon Sep 17 00:00:00 2001 From: Afonso Jorge Ramos Date: Sat, 20 Jun 2026 07:14:56 +0100 Subject: [PATCH] fix(widgets): hide health monitoring default tab option for non-proxmox integrations (#6021) --- packages/widgets/src/health-monitoring/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/widgets/src/health-monitoring/index.ts b/packages/widgets/src/health-monitoring/index.ts index 698446c28..dd176a189 100644 --- a/packages/widgets/src/health-monitoring/index.ts +++ b/packages/widgets/src/health-monitoring/index.ts @@ -95,6 +95,12 @@ export const { definition, componentLoader } = createWidgetDefinition("healthMon return !integrationKinds.includes("proxmox"); }, }, + defaultTab: { + shouldHide(_, integrationKinds) { + // The system/cluster tabs only render for Proxmox, so the default tab choice does nothing otherwise + return !integrationKinds.includes("proxmox"); + }, + }, }, ); },