Skip to content

Commit

Permalink
Merge pull request #686 from OpenSignLabs/guestsign_url
Browse files Browse the repository at this point in the history
fix: document loading error No PDF file specified
  • Loading branch information
prafull-opensignlabs authored May 7, 2024
2 parents 221f71c + 179c3c5 commit c564b57
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/OpenSign/src/pages/PdfRequestFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,10 @@ function PdfRequestFiles() {
</ModalUi>
{/* this component used to render all pdf pages in left side */}
<RenderAllPdfPage
signPdfUrl={pdfDetails[0] && pdfDetails[0].SignedUrl}
signPdfUrl={
pdfDetails[0] &&
(pdfDetails[0]?.SignedUrl || pdfDetails[0]?.URL)
}
allPages={allPages}
setAllPages={setAllPages}
setPageNumber={setPageNumber}
Expand Down

0 comments on commit c564b57

Please sign in to comment.