aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.tsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.tsx b/server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.tsx
index 6d4e9744ebd..872760f182a 100644
--- a/server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.tsx
+++ b/server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.tsx
@@ -29,7 +29,6 @@ import { searchUsers } from '../../../api/users';
import { translate } from '../../../helpers/l10n';
import { getCurrentUser, Store } from '../../../store/rootReducer';
import { DropdownOverlay } from '../../controls/Dropdown';
-import { Issue, CurrentUser, OrganizationMember } from '../../../app/types';
import { isSonarCloud } from '../../../helpers/system';
import { isLoggedIn } from '../../../helpers/users';
@@ -41,8 +40,8 @@ interface User {
}
interface Props {
- currentUser: CurrentUser;
- issue: Pick<Issue, 'projectOrganization'>;
+ currentUser: T.CurrentUser;
+ issue: Pick<T.Issue, 'projectOrganization'>;
onSelect: (login: string) => void;
}
@@ -84,7 +83,7 @@ class SetAssigneePopup extends React.PureComponent<Props, State> {
searchUsers({ q: query, ps: LIST_SIZE }).then(this.handleSearchResult, () => {});
};
- handleSearchResult = (response: { users: OrganizationMember[] }) => {
+ handleSearchResult = (response: { users: T.OrganizationMember[] }) => {
this.setState({
users: response.users,
currentUser: response.users.length > 0 ? response.users[0].login : ''