Skip to content

Commit

Permalink
[frontend] Hide Indicator decay manager from settings modules list (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SouadHadjiat committed Feb 1, 2024
1 parent e291797 commit cb2455f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,8 @@ const Settings = () => {
</Typography>
<Paper classes={{ root: classes.paper }} variant="outlined">
<List style={{ marginTop: -20 }}>
{modules.map((module) => {
{/* TODO remove Decay feature flag */}
{modules.filter((module) => module.id !== 'INDICATOR_DECAY_MANAGER').map((module) => {
const isEeModule = ['ACTIVITY_MANAGER', 'PLAYBOOK_MANAGER', 'FILE_INDEX_MANAGER'].includes(module.id);
let status = module.enable;
if (!isEnterpriseEdition && isEeModule) {
Expand Down

0 comments on commit cb2455f

Please sign in to comment.