Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Disabled link in user search
Browse files Browse the repository at this point in the history
  • Loading branch information
mukund-egov committed Sep 13, 2024
1 parent 7c80d63 commit 43e2d4b
Showing 1 changed file with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -24,10 +24,10 @@ const SearchUserResults = ({ isLoading, data, ...props }) => {
console.log(row, "ROW");

return (
<span className="link">
<Link to={`/${window?.contextPath}/employee/hrms/details/${row.original.tenantId}/${row.original.code}`}>{row.original.code}</Link>
</span>
// GetCell(`${row.original?.code}`)
// <span className="link">
// <Link to={`/${window?.contextPath}/employee/hrms/details/${row.original.tenantId}/${row.original.code}`}>{row.original.code}</Link>
// </span>
GetCell(`${row.original?.code}`)
);
},
},
Expand Down Expand Up @@ -131,11 +131,7 @@ const SearchUserResults = ({ isLoading, data, ...props }) => {
);
}

return (
<div>
{result}
</div>
)
}
return <div>{result}</div>;
};

export default SearchUserResults
export default SearchUserResults;

0 comments on commit 43e2d4b

Please sign in to comment.