Skip to content

Commit

Permalink
Select value changes for candidate group and assignee (AOT-Technologi…
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonymol-aot authored Mar 20, 2024
1 parent 3be8043 commit e3a089b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -512,15 +512,15 @@ export default function CreateNewFilterDrawer({
const userList = userListResponse?.data || [];
const assigneeOptions = useMemo(() => {
return userList.map((user) => ({
value: `${user.firstName} ${user.lastName}`,
label: `${user.firstName} ${user.lastName}`,
value: `${user.username}`,
label: `${user.username}`,
}));
}, [userList]);

const candidateOptions = useMemo(() => {
return candidateGroups.map((group) => ({
value: group,
label: trimFirstSlash(group),
value: trimFirstSlash(group),
label: group,
}));
}, [candidateGroups]);

Expand Down

0 comments on commit e3a089b

Please sign in to comment.