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

Commit

Permalink
Browse files Browse the repository at this point in the history
…seva into ISTE-8
  • Loading branch information
chinmoy-eGov committed Apr 24, 2024
2 parents c027c07 + 4ce98e5 commit d47c92a
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 d47c92a

Please sign in to comment.