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

Commit

Permalink
Merge pull request #762 from egovernments/PFM-5971
Browse files Browse the repository at this point in the history
PFM-5971 added filter for current tenant
  • Loading branch information
anilsingha-eGov authored Apr 3, 2024
2 parents 9344f2e + 3ed308a commit a7cd53f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const Jurisdictions = ({ t, config, onSelect, userType, formData }) => {
}, []);

useEffect(() => {
let cities = userData?.user[0]?.roles?.map((role) => role.tenantId)?.filter((value, index, array) => array.indexOf(value) === index);
let cities = [Digit.ULBService.getCurrentTenantId()]

selectboundary(
data?.MdmsRes?.tenant?.tenants
Expand Down

0 comments on commit a7cd53f

Please sign in to comment.