Skip to content

Commit

Permalink
Merge pull request #827 from bcgov/dev-RQ-2941
Browse files Browse the repository at this point in the history
Bug fix for jpeg and pdf stitching issue #2941
  • Loading branch information
richard-aot authored Feb 28, 2024
2 parents 08a71a6 + 7092efd commit 62cb840
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions web/src/components/FOI/Home/Redlining.js
Original file line number Diff line number Diff line change
Expand Up @@ -689,9 +689,10 @@ const Redlining = React.forwardRef(
set
) => {
slicedsetofdoclist.forEach(async (filerow) => {
await createDocument(filerow.s3url,
{ useDownloader: false } // Added to fix BLANK page issue
).then(async (newDoc) => {
await createDocument(filerow.s3url, {
useDownloader: false, // Added to fix BLANK page issue
loadAsPDF: true, // Added to fix jpeg/pdf stitiching issue #2941
}).then(async (newDoc) => {
setpdftronDocObjects((_arr) => [
..._arr,
{
Expand Down

0 comments on commit 62cb840

Please sign in to comment.