A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
fix(widgets): hide health monitoring default tab option for non-proxmox integrations (#6021)
Afonso Jorge Ramos52df56b19da8
diff --git a/packages/widgets/src/health-monitoring/index.ts b/packages/widgets/src/health-monitoring/index.tsindex 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("healthMonreturn !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");+ },+ },},);},