Skip to content

Commit

Permalink
Merge branch 'console' into HCMPRE-1438-payments
Browse files Browse the repository at this point in the history
  • Loading branch information
jagankumar-egov authored Jan 22, 2025
2 parents ca049a4 + 89ab055 commit 3adc99e
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 14 deletions.
4 changes: 2 additions & 2 deletions health/micro-ui/web/console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
],
"homepage": "/console",
"dependencies": {
"@egovernments/digit-ui-libraries": "1.8.6",
"@egovernments/digit-ui-libraries": "1.8.8",
"@egovernments/digit-ui-module-workbench": "1.0.12",
"@egovernments/digit-ui-module-core": "1.8.14",
"@egovernments/digit-ui-module-core": "1.8.15",
"@egovernments/digit-ui-module-utilities": "1.0.10",
"@egovernments/digit-ui-components": "0.0.2-beta.58",
"@egovernments/digit-ui-react-components": "1.8.14",
Expand Down
4 changes: 2 additions & 2 deletions health/micro-ui/web/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
],
"homepage": "/core-ui",
"dependencies": {
"@egovernments/digit-ui-libraries": "1.8.6",
"@egovernments/digit-ui-libraries": "1.8.8",
"@egovernments/digit-ui-module-workbench": "1.0.12",
"@egovernments/digit-ui-module-core": "1.8.14",
"@egovernments/digit-ui-module-core": "1.8.15",
"@egovernments/digit-ui-module-utilities": "1.0.10",
"@egovernments/digit-ui-components":"0.0.2-beta.56",
"@egovernments/digit-ui-react-components": "1.8.14",
Expand Down
4 changes: 2 additions & 2 deletions health/micro-ui/web/micro-ui-internals/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"start": "react-scripts start"
},
"devDependencies": {
"@egovernments/digit-ui-libraries": "1.8.6",
"@egovernments/digit-ui-libraries": "1.8.8",
"@egovernments/digit-ui-module-workbench": "1.0.12",
"@egovernments/digit-ui-components": "0.0.2-beta.58",
"@egovernments/digit-ui-module-core": "1.8.14",
"@egovernments/digit-ui-module-core": "1.8.15",
"@egovernments/digit-ui-module-utilities": "1.0.3",
"@egovernments/digit-ui-react-components": "1.8.14",
"@egovernments/digit-ui-module-hcmworkbench": "0.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -855,10 +855,17 @@ const UploadData = ({ formData, onSelect, ...props }) => {
}
};
useEffect(() =>{
if(totalData?.HCM_CAMPAIGN_UPLOAD_FACILITY_DATA?.uploadFacility?.uploadedFile?.[0]?.resourceId == "not-validated"){
if(totalData?.HCM_CAMPAIGN_UPLOAD_FACILITY_DATA?.uploadFacility?.uploadedFile?.[0]?.resourceId == "not-validated" ||
totalData?.HCM_CAMPAIGN_UPLOAD_USER_DATA?.uploadUser?.uploadedFile?.[0]?.resourceId == "not-validated" ||
totalData?.HCM_CAMPAIGN_UPLOAD_BOUNDARY_DATA?.uploadBoundary?.uploadedFile?.[0]?.resourceId == "not-validated"
){
setNotValid(1);
}
},[totalData?.HCM_CAMPAIGN_UPLOAD_FACILITY_DATA?.uploadFacility?.uploadedFile?.[0]?.resourceId])
},[totalData?.HCM_CAMPAIGN_UPLOAD_FACILITY_DATA?.uploadFacility?.uploadedFile?.[0]?.resourceId ,
totalData?.HCM_CAMPAIGN_UPLOAD_USER_DATA?.uploadUser?.uploadedFile?.[0]?.resourceId,
totalData?.HCM_CAMPAIGN_UPLOAD_BOUNDARY_DATA?.uploadBoundary?.uploadedFile?.[0]?.resourceId
])

useEffect(() => {
const fetchData = async () => {
if ((!errorsType[type] && uploadedFile?.length > 0 && !isSuccess) || notValid==1) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const useProductList = (tenantId,projectType) => {
config: {
enabled: true,
select: (data) => {
if (projectType === "Co-delivery") {
if (projectType === "DEFAULT") {
return data?.ProductVariant;
}
const filteredData = data?.ProductVariant?.filter(item =>
Expand Down
4 changes: 2 additions & 2 deletions health/micro-ui/web/microplan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
],
"homepage": "/microplan-ui",
"dependencies": {
"@egovernments/digit-ui-libraries": "1.8.6",
"@egovernments/digit-ui-module-core": "1.8.14",
"@egovernments/digit-ui-libraries": "1.8.8",
"@egovernments/digit-ui-module-core": "1.8.15",
"@egovernments/digit-ui-module-utilities": "1.0.1-beta.23",
"@egovernments/digit-ui-react-components": "1.8.14",
"@egovernments/digit-ui-module-hcmmicroplanning": "0.0.2",
Expand Down
2 changes: 1 addition & 1 deletion health/micro-ui/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@egovernments/digit-ui-libraries": "1.8.2-beta.8",
"@egovernments/digit-ui-module-workbench": "1.0.2-beta.7",
"@egovernments/digit-ui-module-core": "1.8.14",
"@egovernments/digit-ui-module-core": "1.8.15",
"@egovernments/digit-ui-module-hrms": "1.8.0-beta.2",
"@egovernments/digit-ui-react-components": "1.8.14",
"@egovernments/digit-ui-components": "0.0.2-beta.58",
Expand Down
4 changes: 2 additions & 2 deletions health/micro-ui/web/workbench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
],
"homepage": "/workbench-ui",
"dependencies": {
"@egovernments/digit-ui-libraries": "1.8.6",
"@egovernments/digit-ui-libraries": "1.8.8",
"@egovernments/digit-ui-module-workbench": "1.0.12",
"@egovernments/digit-ui-module-core": "1.8.14",
"@egovernments/digit-ui-module-core": "1.8.15",
"@egovernments/digit-ui-module-utilities": "1.0.10",
"@egovernments/digit-ui-components": "0.0.2-beta.58",
"@egovernments/digit-ui-react-components": "1.8.14",
Expand Down

0 comments on commit 3adc99e

Please sign in to comment.