mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
only run participate test for sign up if user has no projects
This commit is contained in:
parent
23fd12c67d
commit
5598624ee1
1 changed files with 8 additions and 6 deletions
|
@ -11,7 +11,9 @@ define [
|
|||
$scope.predicate = "lastUpdated"
|
||||
$scope.reverse = true
|
||||
|
||||
|
||||
if $scope.projects.length > 0
|
||||
$scope.first_sign_up = "default"
|
||||
else
|
||||
sixpack.participate 'first_sign_up', ['default', 'minimial'], (chosenVariation, rawResponse)->
|
||||
$scope.first_sign_up = chosenVariation
|
||||
$timeout () ->
|
||||
|
|
Loading…
Reference in a new issue