fix(widgets): hide health monitoring default tab option for non-proxmox integrations (#6021)

This commit is contained in:
Afonso Jorge Ramos authored and GitHub committed 2026-06-20 08:14:56 +02:00
1 parent 0f66bfd6c1
commit 52df56b19d
1 file changed
+6
@@ -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");
},
},
},
);
},