Skip to content

Commit

Permalink
fix (#1362)
Browse files Browse the repository at this point in the history
Co-authored-by: nabeelmd-eGov <[email protected]>
  • Loading branch information
aaradhya-egov and nabeelmd-eGov authored Sep 5, 2024
1 parent aaae23b commit 58ff2f5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import TimeLine from "../../components/TimeLine";
const WorkflowComponent = ({ complaintDetails, id, getWorkFlow, zoomImage }) => {
const tenantId = Digit.SessionStorage.get("CITIZEN.COMMON.HOME.CITY")?.code || complaintDetails.service.tenantId;
let workFlowDetails = Digit.Hooks.useWorkflowDetails({ tenantId: tenantId, id, moduleCode: "PGR" });
const { data: ComplainMaxIdleTime, isLoading: ComplainMaxIdleTimeLoading } = Digit.Hooks.pgr.useMDMS.ComplainClosingTime(tenantId?.split(".")[0]);
// const { data: ComplainMaxIdleTime, isLoading: ComplainMaxIdleTimeLoading } = Digit.Hooks.pgr.useMDMS.ComplainClosingTime(tenantId?.split(".")[0]);

useEffect(() => {
getWorkFlow(workFlowDetails.data);
Expand All @@ -43,7 +43,7 @@ const WorkflowComponent = ({ complaintDetails, id, getWorkFlow, zoomImage }) =>
rating={complaintDetails.audit.rating}
zoomImage={zoomImage}
complaintDetails={complaintDetails}
ComplainMaxIdleTime={ComplainMaxIdleTime}
// ComplainMaxIdleTime={ComplainMaxIdleTime}
/>
)
);
Expand Down

0 comments on commit 58ff2f5

Please sign in to comment.