Skip to content

Commit

Permalink
Merge pull request #692 from bcgov/dev-AA-4680-marshal
Browse files Browse the repository at this point in the history
#4680 reverted code comment
  • Loading branch information
abin-aot authored Jan 1, 2024
2 parents 64efb42 + cfcd795 commit f9285e5
Showing 1 changed file with 18 additions and 25 deletions.
43 changes: 18 additions & 25 deletions web/src/components/FOI/Home/Redlining.js
Original file line number Diff line number Diff line change
Expand Up @@ -2563,31 +2563,24 @@ const Redlining = React.forwardRef(
}
}
setRedlineStitchInfo(stitchDoc);
//setIssingleredlinepackage(res.issingleredlinepackage);
stitchForRedlineExport(
_instance,
divisionDocuments,
stitchDocuments,
res.issingleredlinepackage,
incompatableList
);
// if(res.issingleredlinepackage == 'Y' || divisions.length == 1){
// stitchSingleDivisionRedlineExport(
// _instance,
// divisionDocuments,
// stitchDocuments,
// res.issingleredlinepackage
// );
// }
// else {
// stitchForRedlineExport(
// _instance,
// divisionDocuments,
// stitchDocuments,
// res.issingleredlinepackage,
// incompatableList
// );
// }
setIssingleredlinepackage(res.issingleredlinepackage);
if(res.issingleredlinepackage == 'Y' || divisions.length == 1){
stitchSingleDivisionRedlineExport(
_instance,
divisionDocuments,
stitchDocuments,
res.issingleredlinepackage
);
}
else {
stitchForRedlineExport(
_instance,
divisionDocuments,
stitchDocuments,
res.issingleredlinepackage,
incompatableList
);
}
},
(error) => {
console.log("Error fetching document:", error);
Expand Down

0 comments on commit f9285e5

Please sign in to comment.