diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-11-06 14:18:22 +0100 |
---|---|---|
committer | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-11-24 17:22:33 +0100 |
commit | 1fccf4779bbf4d1c125fd65ed3972b57b3c1be6e (patch) | |
tree | 95747a368747f6287e966ebd563f5c814575e4a6 /server/sonar-web/src/main/js/components/issue | |
parent | 51c76205777a9a05783c781bad8c66e3eadef163 (diff) | |
download | sonarqube-1fccf4779bbf4d1c125fd65ed3972b57b3c1be6e.tar.gz sonarqube-1fccf4779bbf4d1c125fd65ed3972b57b3c1be6e.zip |
Rewrite users page to TS and React
Diffstat (limited to 'server/sonar-web/src/main/js/components/issue')
-rw-r--r-- | server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.js b/server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.js index d25651d6c6c..506531e2783 100644 --- a/server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.js +++ b/server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.js @@ -91,9 +91,8 @@ export default class SetAssigneePopup extends React.PureComponent { }).then(this.handleSearchResult, this.props.onFail); }; - searchUsers = (query /*: string */) => { - searchUsers(query, LIST_SIZE).then(this.handleSearchResult, this.props.onFail); - }; + searchUsers = (query /*: string */) => + searchUsers({ q: query, ps: LIST_SIZE }).then(this.handleSearchResult, this.props.onFail); handleSearchResult = (data /*: Object */) => { this.setState({ |