Fix user_typeahead result rendering

Plus signs aren't valid in this expression, so the results never get
displayed for people to select a user from when assigning a task.

Change-Id: I656b300f9262c4d678f8e7a0d9f46ffb4591d8a2
This commit is contained in:
Adam Coldrick 2019-10-22 21:09:17 +01:00
parent b2ce9265fa
commit 81541df454
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@
ng-keypress="handleEnterKey($event)"
typeahead-editable="false"
typeahead-wait-ms="200"
typeahead="user as formatUserName(user) + ' <' + user.email + '>' + for user in searchUsers($viewValue)"
typeahead="user as formatUserName(user) for user in searchUsers($viewValue)"
typeahead-loading="loadingUsers"
typeahead-input-formatter="formatUserName($model)"
typeahead-on-select="updateViewValue($model.id);"