File tree Expand file tree Collapse file tree
src/frontend/src/pages/ChangeRequestDetailPage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ import { useToast } from '../../hooks/toasts.hooks';
1515import { useCurrentUser , useAllUsers } from '../../hooks/users.hooks' ;
1616import { projectWbsPipe } from '../../utils/pipes' ;
1717import { routes } from '../../utils/routes' ;
18- import { userToAutocompleteOption } from '../../utils/task.utils' ;
1918import { useState } from 'react' ;
2019import ErrorPage from '../ErrorPage' ;
2120import LoadingIndicator from '../../components/LoadingIndicator' ;
21+ import { taskUserToAutocompleteOption } from '../../utils/task.utils' ;
2222
2323interface ChangeRequestActionMenuProps {
2424 isUserAllowedToReview : boolean ;
@@ -93,7 +93,7 @@ const ChangeRequestActionMenu: React.FC<ChangeRequestActionMenuProps> = ({
9393 limitTags = { 1 }
9494 disableCloseOnSelect
9595 multiple
96- options = { users . filter ( ( user ) => isLeadership ( user . role ) ) . map ( userToAutocompleteOption ) }
96+ options = { users . filter ( ( user ) => isLeadership ( user . role ) ) . map ( taskUserToAutocompleteOption ) }
9797 getOptionLabel = { ( option ) => option . label }
9898 onChange = { ( _ , values ) => setReviewerIds ( values . map ( ( value ) => value . id ) ) }
9999 renderTags = { ( ) => null }
You can’t perform that action at this time.
0 commit comments