From 43e2d4be04eb1444b4a86cfd2862847b4064a333 Mon Sep 17 00:00:00 2001 From: mukund-egov Date: Fri, 13 Sep 2024 10:15:40 +0530 Subject: [PATCH] Disabled link in user search --- .../hrms/src/components/SearchUserResults.js | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/src/components/SearchUserResults.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/src/components/SearchUserResults.js index 425b368e1..6667efb11 100644 --- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/src/components/SearchUserResults.js +++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/src/components/SearchUserResults.js @@ -1,4 +1,4 @@ -import React from 'react' +import React from "react"; import { useTranslation } from "react-i18next"; import { Table, Loader, Card } from "@egovernments/digit-ui-react-components"; import { Link } from "react-router-dom"; @@ -24,10 +24,10 @@ const SearchUserResults = ({ isLoading, data, ...props }) => { console.log(row, "ROW"); return ( - - {row.original.code} - - // GetCell(`${row.original?.code}`) + // + // {row.original.code} + // + GetCell(`${row.original?.code}`) ); }, }, @@ -131,11 +131,7 @@ const SearchUserResults = ({ isLoading, data, ...props }) => { ); } - return ( -
- {result} -
- ) -} + return
{result}
; +}; -export default SearchUserResults \ No newline at end of file +export default SearchUserResults;