mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Remove subscription-cancel-button
(#17976)
I believe this was already removed since https://github.com/overleaf/internal/pull/13311 GitOrigin-RevId: e486f2fce794fc9d587da331547834c3b6158ceb
This commit is contained in:
parent
02cae2bc2f
commit
76955c814a
1 changed files with 0 additions and 9 deletions
|
@ -141,14 +141,6 @@ async function userSubscriptionPage(req, res) {
|
||||||
|
|
||||||
AnalyticsManager.recordEventForSession(req.session, 'subscription-page-view')
|
AnalyticsManager.recordEventForSession(req.session, 'subscription-page-view')
|
||||||
|
|
||||||
const cancelButtonAssignment = await SplitTestHandler.promises.getAssignment(
|
|
||||||
req,
|
|
||||||
res,
|
|
||||||
'subscription-cancel-button'
|
|
||||||
)
|
|
||||||
|
|
||||||
const cancelButtonNewCopy = cancelButtonAssignment?.variant === 'new-copy'
|
|
||||||
|
|
||||||
const groupPlansDataForDash = formatGroupPlansDataForDash()
|
const groupPlansDataForDash = formatGroupPlansDataForDash()
|
||||||
|
|
||||||
// display the Group Settings button only to admins of group subscriptions with either/or the Managed Users or Group SSO feature available
|
// display the Group Settings button only to admins of group subscriptions with either/or the Managed Users or Group SSO feature available
|
||||||
|
@ -198,7 +190,6 @@ async function userSubscriptionPage(req, res) {
|
||||||
managedInstitutions,
|
managedInstitutions,
|
||||||
managedPublishers,
|
managedPublishers,
|
||||||
currentInstitutionsWithLicence,
|
currentInstitutionsWithLicence,
|
||||||
cancelButtonNewCopy,
|
|
||||||
groupPlans: groupPlansDataForDash,
|
groupPlans: groupPlansDataForDash,
|
||||||
groupSettingsEnabledFor,
|
groupSettingsEnabledFor,
|
||||||
isManagedAccount: !!req.managedBy,
|
isManagedAccount: !!req.managedBy,
|
||||||
|
|
Loading…
Reference in a new issue