diff --git a/services/web/app/src/Features/Subscription/SubscriptionController.js b/services/web/app/src/Features/Subscription/SubscriptionController.js index 6c2ad53a92..def0abf7ac 100644 --- a/services/web/app/src/Features/Subscription/SubscriptionController.js +++ b/services/web/app/src/Features/Subscription/SubscriptionController.js @@ -177,10 +177,6 @@ async function userSubscriptionPage(req, res) { premiumSource: aiAssistViaWritefullSource, } = await UserGetter.promises.getWritefullData(user._id) - // populate splitTestVariants in locals with a value for the split test, so - // it's available in meta ol-splitTestVariants in the browser - await SplitTestHandler.promises.getAssignment(req, res, 'group-audit-logs') - const data = { title: 'your_subscription', plans: plansData?.plans, diff --git a/services/web/frontend/js/features/subscription/components/dashboard/managed-group-subscriptions.tsx b/services/web/frontend/js/features/subscription/components/dashboard/managed-group-subscriptions.tsx index 0ad9274af6..9af548ceb1 100644 --- a/services/web/frontend/js/features/subscription/components/dashboard/managed-group-subscriptions.tsx +++ b/services/web/frontend/js/features/subscription/components/dashboard/managed-group-subscriptions.tsx @@ -97,10 +97,6 @@ export default function ManagedGroupSubscriptions() { getMeta('ol-groupSettingsAdvertisedFor') || [] const groupSettingsEnabledFor = getMeta('ol-groupSettingsEnabledFor') || [] - const splitTestVariants = getMeta('ol-splitTestVariants') - const displayAuditLogsLink = - splitTestVariants?.['group-audit-logs'] === 'active' - return ( <> {managedGroupSubscriptions.map(subscription => { @@ -129,14 +125,12 @@ export default function ManagedGroupSubscriptions() { {groupSettingsAdvertisedFor?.includes(subscription._id) && ( )} - {displayAuditLogsLink && ( - - )} + ', function () { value: managedGroupSubscriptions, }, { name: 'ol-usersEmail', value: 'admin@example.com' }, - { - name: 'ol-splitTestVariants', - value: { 'group-audit-logs': 'active' }, - }, ], })