mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Return blank features, not default features if no bonuses
This commit is contained in:
parent
156c417df0
commit
b902821c07
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module.exports = ReferalFeatures =
|
|||
|
||||
_calculateFeatures : (user)->
|
||||
bonusLevel = ReferalFeatures._getBonusLevel(user)
|
||||
return Settings.bonus_features?["#{bonusLevel}"] or Settings.defaultFeatures
|
||||
return Settings.bonus_features?["#{bonusLevel}"] or {}
|
||||
|
||||
_getBonusLevel: (user)->
|
||||
highestBonusLevel = 0
|
||||
|
|
Loading…
Reference in a new issue