diff --git a/apps/web/src/SettingsRoutes.tsx b/apps/web/src/SettingsRoutes.tsx
index 1df6c3e63c6..1d5c75e513a 100644
--- a/apps/web/src/SettingsRoutes.tsx
+++ b/apps/web/src/SettingsRoutes.tsx
@@ -21,84 +21,73 @@ import { WebhookPage } from './pages/settings/WebhookPage';
export const useSettingsRoutes = () => {
const isInformationArchitectureEnabled = useFeatureFlag(FeatureFlagsKeysEnum.IS_INFORMATION_ARCHITECTURE_ENABLED);
+ if (isInformationArchitectureEnabled) {
+ return (
+ }>
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+
+ );
+ }
+
+ /* TODO: remove all routes above once information architecture is fully enabled */
return (
<>
- : }>
- : }
- />
+ }>
+ } />
} />
} />
} />
} />
- {/* ensure legacy routes re-route to base settings page */}
}
- id="rbac-permissions"
- title="Role-based access control"
- text="Securely manage users' permissions to access system resources."
- closeable={false}
- />
- ) : (
-
- )
+ }
+ id="rbac-permissions"
+ title="Role-based access control"
+ text="Securely manage users' permissions to access system resources."
+ closeable={false}
+ />
}
/>
}
- id="sso-settings"
- title="Single Sign-On (SSO)"
- text="Simplify user authentication and enhance security."
- closeable={false}
- />
- ) : (
-
- )
+ }
+ id="sso-settings"
+ title="Single Sign-On (SSO)"
+ text="Simplify user authentication and enhance security."
+ closeable={false}
+ />
}
/>
}
- id="data-integrations-settings"
- title="Data Integrations"
- text="Share data with 3rd party services via Segment and Datadog integrations to monitor analytics."
- closeable={false}
- />
- ) : (
-
- )
+ }
+ id="data-integrations-settings"
+ title="Data Integrations"
+ text="Share data with 3rd party services via Segment and Datadog integrations to monitor analytics."
+ closeable={false}
+ />
}
/>
- {/* TODO: remove all routes above once information architecture is fully enabled */}
- : }
- />
- {isInformationArchitectureEnabled && (
- <>
- } />
- } />
- } />
- } />
- } />
- } />
- } />
- } />
- >
- )}
+ } />
} />
>