mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-15 04:14:47 +00:00
Bring down proportion to 10%
This commit is contained in:
parent
6399621d1f
commit
d454be8053
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ module.exports = ProjectController =
|
|||
viewModel.showUserDetailsArea = false
|
||||
|
||||
paidUser = user.features?.github # use a heuristic for paid account
|
||||
freeUserProportion = 0.85
|
||||
freeUserProportion = 0.10
|
||||
sampleFreeUser = parseInt(user._id.toString().slice(-2), 16) < freeUserProportion * 255
|
||||
showFrontWidget = paidUser or sampleFreeUser
|
||||
logger.log {paidUser, sampleFreeUser, showFrontWidget}, 'deciding whether to show front widget'
|
||||
|
|
Loading…
Reference in a new issue