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 #777 from egovernments/ISTE-8
Browse files Browse the repository at this point in the history
Iste 8
  • Loading branch information
anilsingha-eGov authored Apr 24, 2024
2 parents ac7bad3 + d47c92a commit 07540df
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const Jurisdictions = ({ t, config, onSelect, userType, formData }) => {
return roleCodesToFilter.includes(role.code);
})
.map((role) => {
return { code: role.code, name: role?.name ? role?.name : " ", labelKey: "ACCESSCONTROL_ROLES_ROLES_" + role.code };
return { code: role.code, name: role?.name ? role?.name : " ", i18text: "ACCESSCONTROL_ROLES_ROLES_" + role.code };
});
} else {
// Specify the role codes you want to filter
Expand All @@ -243,7 +243,7 @@ const Jurisdictions = ({ t, config, onSelect, userType, formData }) => {
return data?.MdmsRes?.["ws-services-masters"].WSServiceRoles?.filter((role) => {
return !roleCodesToFilter.includes(role.code);
})?.map((role) => {
return { code: role.code, name: role?.name ? role?.name : " ", labelKey: "ACCESSCONTROL_ROLES_ROLES_" + role.code };
return { code: role.code, name: role?.name ? role?.name : " ", i18text: "ACCESSCONTROL_ROLES_ROLES_" + role.code };
});
}
}
Expand Down Expand Up @@ -622,7 +622,7 @@ function Jurisdiction({
selected={jurisdiction?.roles}
options={getroledata(roleoption)}
onSelect={selectrole}
optionsKey="labelKey"
optionsKey="i18text"
showSelectAll={true}
t={t}
/>
Expand Down

0 comments on commit 07540df

Please sign in to comment.