Skip to content

Commit 2a96c1e

Browse files
committed
FE: Use config vars
1 parent 4ed5e88 commit 2a96c1e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

frontend/src/components/ClusterPage/ClusterPage.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ const ClusterPage: React.FC = () => {
6161
hasAclViewConfigured:
6262
features.includes(ClusterFeaturesEnum.KAFKA_ACL_VIEW) ||
6363
features.includes(ClusterFeaturesEnum.KAFKA_ACL_EDIT),
64-
ftsEnabled: true,
65-
ftsDefaultEnabled: true,
64+
ftsEnabled: features.includes(ClusterFeaturesEnum.FTS_ENABLED),
65+
ftsDefaultEnabled: features.includes(
66+
ClusterFeaturesEnum.FTS_DEFAULT_ENABLED
67+
),
6668
};
6769
}, [clusterName, data]);
6870

0 commit comments

Comments
 (0)