mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-23 06:07:56 +00:00
reduce the cap to 20 users when adding seats (#23873)
GitOrigin-RevId: f997059632e9d123e2aa71a74a64ac3b0dd20ef9
This commit is contained in:
parent
3851ee4eb2
commit
887e190de8
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ const subscriptionRateLimiter = new RateLimiter('subscription', {
|
|||
duration: 60,
|
||||
})
|
||||
|
||||
const MAX_NUMBER_OF_USERS = 50
|
||||
const MAX_NUMBER_OF_USERS = 20
|
||||
|
||||
const addSeatsValidateSchema = {
|
||||
body: Joi.object({
|
||||
|
|
|
@ -30,7 +30,7 @@ import {
|
|||
import { MergeAndOverride, Nullable } from '../../../../../../types/utils'
|
||||
import { sendMB } from '../../../../infrastructure/event-tracking'
|
||||
|
||||
export const MAX_NUMBER_OF_USERS = 50
|
||||
export const MAX_NUMBER_OF_USERS = 20
|
||||
|
||||
type CostSummaryData = MergeAndOverride<
|
||||
SubscriptionChangePreview,
|
||||
|
@ -405,7 +405,7 @@ function CostSummarySection({
|
|||
i18nKey="if_you_want_more_than_x_users_on_your_plan_we_need_to_add_them_for_you"
|
||||
// eslint-disable-next-line react/jsx-key
|
||||
components={[<b />]}
|
||||
values={{ count: 50 }}
|
||||
values={{ count: MAX_NUMBER_OF_USERS }}
|
||||
shouldUnescape
|
||||
tOptions={{ interpolation: { escapeValue: true } }}
|
||||
/>
|
||||
|
|
Loading…
Add table
Reference in a new issue