mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
update test timestamp
This commit is contained in:
parent
dfd13e0815
commit
1538f140f3
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ module.exports = SubscriptionController =
|
||||||
baseUrl: baseUrl
|
baseUrl: baseUrl
|
||||||
gaExperiments: Settings.gaExperiments.plansPage
|
gaExperiments: Settings.gaExperiments.plansPage
|
||||||
recomendedCurrency:recomendedCurrency
|
recomendedCurrency:recomendedCurrency
|
||||||
shouldABTestPlans: currentUser == null or (currentUser?.signUpDate? and currentUser.signUpDate >= (new Date('2016-10-26')))
|
shouldABTestPlans: currentUser == null or (currentUser?.signUpDate? and currentUser.signUpDate >= (new Date('2016-10-27')))
|
||||||
user_id = AuthenticationController.getLoggedInUserId(req)
|
user_id = AuthenticationController.getLoggedInUserId(req)
|
||||||
if user_id?
|
if user_id?
|
||||||
UserGetter.getUser user_id, {signUpDate: 1}, (err, user) ->
|
UserGetter.getUser user_id, {signUpDate: 1}, (err, user) ->
|
||||||
|
|
|
@ -69,7 +69,7 @@ define [
|
||||||
|
|
||||||
|
|
||||||
$scope.shouldABTestPlans = false
|
$scope.shouldABTestPlans = false
|
||||||
if $scope.user.signUpDate >= '2016-10-26'
|
if $scope.user.signUpDate >= '2016-10-27'
|
||||||
$scope.shouldABTestPlans = true
|
$scope.shouldABTestPlans = true
|
||||||
|
|
||||||
$scope.settings = window.userSettings
|
$scope.settings = window.userSettings
|
||||||
|
|
Loading…
Reference in a new issue