diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/components/BulkChangeModal.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/components/BulkChangeModal.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/components/BulkChangeModal.tsx b/server/sonar-web/src/main/js/apps/issues/components/BulkChangeModal.tsx index 1a2859fa7f6..43c03a88fdb 100644 --- a/server/sonar-web/src/main/js/apps/issues/components/BulkChangeModal.tsx +++ b/server/sonar-web/src/main/js/apps/issues/components/BulkChangeModal.tsx @@ -155,7 +155,9 @@ export default class BulkChangeModal extends React.PureComponent<Props, State> { }; handleAssigneeSearch = (query: string) => { - return searchAssignees(query, this.state.organization); + return searchAssignees(query, this.state.organization).then(({ results }) => + results.map(r => ({ avatar: r.avatar, label: r.name, value: r.login })) + ); }; handleAssigneeSelect = (assignee: AssigneeOption) => { |