From ef08028542f6be65e3ea1a1d77d7ad73ff246956 Mon Sep 17 00:00:00 2001 From: Akshata Katwal Date: Thu, 14 Nov 2024 11:36:55 +0530 Subject: [PATCH] Issue feat PS-2466: Fix User not getting updated issue --- src/components/UserTable.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/UserTable.tsx b/src/components/UserTable.tsx index 88723abb..75b5a015 100644 --- a/src/components/UserTable.tsx +++ b/src/components/UserTable.tsx @@ -684,9 +684,9 @@ console.log(code[0]) if (data[item.name] && item?.maxSelections > 1) { return [field?.value]; } else if (item?.type === "checkbox") { - return String(field?.value).split(","); + return String(field?.code).split(","); } else { - return field?.value?.toLowerCase(); + return field?.code?.toLowerCase(); } } else { if (item?.type === "numeric") { @@ -1522,7 +1522,6 @@ console.log(selectedBlockStore) ); - console.log("data-----------------------------", data) const userProps = { userType: userType, searchPlaceHolder: searchPlaceholder,