fix(widgets): hide health monitoring default tab option for non-proxmox integrations (#6021)
This commit is contained in:
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");
|
||||
},
|
||||
},
|
||||
},
|
||||
);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user