Skip to content

Commit

Permalink
BUGFIX/HCMPRE-1810: Fix issue for next page in user tagging (#2104)
Browse files Browse the repository at this point in the history
* for clickng on save and next

* remove console
  • Loading branch information
abishekTa-egov authored and nipunarora-eGov committed Jan 15, 2025
1 parent 278859a commit b2d345b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ function RoleTableComposer({ nationalRoles }) {
config: {
enabled: true,
select: (data) => {
const resp = data?.Employees?.map((item, index) => {
const resp = data?.Employees
?.filter((emp)=> emp?.user?.userServiceUuid!== null)
?.map((item, index) => {
return {
rowIndex: index + 1,
name: item?.user?.name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ const UserAccessWrapper = ({ onSelect, props: customProps, setupCompleted }) =>
updateUrlParams({ internalKey });
}, [internalKey]);


return (
<Fragment>
<UserAccessContext.Provider value={{ hierarchyData, category: rolesArray?.[internalKey - 1] }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ const createUpdatePlanProject = async (req) => {
});
const updatedPlanObject = {
...fetchedPlan,
additionalDetails:{...fetchedPlanForBoundary.additionalDetails,key:key}
additionalDetails:{...fetchedPlan.additionalDetails,key:key}
};
const response= await updatePlan(updatedPlanObject);
// Return as expected
Expand Down

0 comments on commit b2d345b

Please sign in to comment.