From e3a089b7668152e6cf1554a3173d101f9fe7a679 Mon Sep 17 00:00:00 2001 From: Bonymol Baby <88372115+Bonymol-aot@users.noreply.github.com> Date: Wed, 20 Mar 2024 09:34:57 -0700 Subject: [PATCH] Select value changes for candidate group and assignee (#1959) --- .../components/ServiceFlow/list/sort/CreateNewFilter.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/forms-flow-web/src/components/ServiceFlow/list/sort/CreateNewFilter.js b/forms-flow-web/src/components/ServiceFlow/list/sort/CreateNewFilter.js index 6bb84faf84..3c8ba5bb68 100644 --- a/forms-flow-web/src/components/ServiceFlow/list/sort/CreateNewFilter.js +++ b/forms-flow-web/src/components/ServiceFlow/list/sort/CreateNewFilter.js @@ -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]);