Skip to content

Commit

Permalink
Merge branch 'upyog:digit2.9' into digit2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmoy-eGov authored Apr 10, 2024
2 parents 567c931 + 256298d commit 67e0c8e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@upyog/digit-ui-module-mcollect": "1.7.3",
"@upyog/digit-ui-module-noc": "1.7.3",
"@upyog/digit-ui-module-obps": "1.7.2",
"@upyog/digit-ui-module-pgr": "1.7.8",
"@upyog/digit-ui-module-pgr": "1.7.9",
"@upyog/digit-ui-module-pt": "1.7.8",
"@upyog/digit-ui-module-receipts": "1.7.3",
"@upyog/digit-ui-module-tl": "1.7.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const fetchComplaintDetails = async (tenantId, id) => {
const { service, workflow } = (await Digit.PGRService.search(tenantId, { serviceRequestId: id })).ServiceWrappers[0] || {};
Digit.SessionStorage.set("complaintDetails", { service, workflow });
if (service && workflow && serviceDefs) {
const complaintType = serviceDefs.filter((def) => def.serviceCode === service.serviceCode)[0].menuPath.toUpperCase();
const complaintType = serviceDefs.filter((def) => def.serviceCode === service.serviceCode)[0]?.menuPath?.toUpperCase();
const ids = workflow.verificationDocuments
? workflow.verificationDocuments.filter((doc) => doc.documentType === "PHOTO").map((photo) => photo.fileStoreId || photo.id)
: null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@upyog/digit-ui-module-pgr",
"version": "1.7.8",
"version": "1.7.9",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.modern.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ const ComplaintDetailsPage = (props) => {
return (
<React.Fragment>
<div className="complaint-summary">
<Header>{t(`${LOCALIZATION_KEY.CS_HEADER}_COMPLAINT_SUMMARY`)}</Header>
<Header>{t(`${LOCALIZATION_KEY?.CS_HEADER}_COMPLAINT_SUMMARY`)}</Header>

{Object.keys(complaintDetails).length > 0 ? (
{complaintDetails && Object.keys(complaintDetails).length > 0 ? (
<React.Fragment>
<Card>
<CardSubHeader>{t(`SERVICEDEFS.${complaintDetails.audit.serviceCode.toUpperCase()}`)}</CardSubHeader>
Expand Down
2 changes: 1 addition & 1 deletion frontend/micro-ui/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@upyog/digit-ui-module-commonpt":"1.7.2",
"@upyog/digit-ui-module-obps": "1.7.2",
"@upyog/digit-ui-module-noc": "1.7.3",
"@upyog/digit-ui-module-pgr": "1.7.8",
"@upyog/digit-ui-module-pgr": "1.7.9",
"@upyog/digit-ui-module-pt": "1.7.8",
"@upyog/digit-ui-module-receipts": "1.7.3",
"@upyog/digit-ui-module-tl": "1.7.2",
Expand Down

0 comments on commit 67e0c8e

Please sign in to comment.