Skip to content

Commit 5f875d8

Browse files
committed
fix: conditionally include REDFISH_NODE_UI_TABS based on FEATURE_REDFISH_NODE_ENABLE
1 parent c11b6d4 commit 5f875d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ClusterNodes/NodeDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ const NodeDetails = ({ addTab, lowercaseKindToResourceGroupMap, updateTabUrl }:
254254
label: NODE_DETAILS_TABS.summary,
255255
node: renderSummary,
256256
},
257-
...REDFISH_NODE_UI_TABS,
257+
...(window._env_.FEATURE_REDFISH_NODE_ENABLE ? REDFISH_NODE_UI_TABS : []),
258258
{
259259
id: getSanitizedNodeTabId(NODE_DETAILS_TABS.yaml),
260260
label: NODE_DETAILS_TABS.yaml,

0 commit comments

Comments
 (0)