Skip to content

Commit 07190b2

Browse files
committed
FE: Use config vars
1 parent ca25d84 commit 07190b2

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: false,
65-
ftsDefaultEnabled: false,
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)