mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
put domain into popup for user info
This commit is contained in:
parent
478a20be1f
commit
444e6cbd12
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,8 @@ define ["libs/algolia", "libs/angular", "libs/angular-autocomplete/angular-autoc
|
|||
|
||||
$scope.updateInstitutionsList = (a)->
|
||||
Institutions.search $scope.userInfoForm.institution, (err, response)->
|
||||
$scope.institutions = _.pluck response.hits, "name"
|
||||
$scope.institutions = _.map response.hits, (institution)->
|
||||
"#{institution.name} <span class='muted'>#{institution.domain}</span>"
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue