From 7f1afd8ce4723dad04762837efec3b4b2525dff5 Mon Sep 17 00:00:00 2001 From: Benoit Date: Fri, 12 Jul 2019 14:06:47 +0200 Subject: MMF-769 User can close their account (#1861) --- .../src/main/js/apps/groups/components/EditMembersModal.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'server/sonar-web/src/main/js/apps/groups') diff --git a/server/sonar-web/src/main/js/apps/groups/components/EditMembersModal.tsx b/server/sonar-web/src/main/js/apps/groups/components/EditMembersModal.tsx index a0f00cf6d6e..712206e016f 100644 --- a/server/sonar-web/src/main/js/apps/groups/components/EditMembersModal.tsx +++ b/server/sonar-web/src/main/js/apps/groups/components/EditMembersModal.tsx @@ -24,12 +24,7 @@ import { ResetButtonLink } from 'sonar-ui-common/components/controls/buttons'; import Modal from 'sonar-ui-common/components/controls/Modal'; import DeferredSpinner from 'sonar-ui-common/components/ui/DeferredSpinner'; import SelectList, { Filter } from '../../../components/SelectList/SelectList'; -import { - addUserToGroup, - getUsersInGroup, - GroupUser, - removeUserFromGroup -} from '../../../api/user_groups'; +import { addUserToGroup, getUsersInGroup, removeUserFromGroup } from '../../../api/user_groups'; interface Props { group: T.Group; @@ -50,7 +45,7 @@ interface State { lastSearchParams: SearchParams; listHasBeenTouched: boolean; loading: boolean; - users: GroupUser[]; + users: T.UserSelected[]; usersTotalCount?: number; selectedUsers: string[]; } -- cgit v1.2.3