allow signing and show PdfView without any marks (never created) #287

Merged
b merged 4 commits from 286-missing-pdf-and-sign into staging 2025-01-02 09:43:46 +00:00
Showing only changes of commit 8df5084703 - Show all commits

View File

@ -152,17 +152,15 @@ const PdfMarking = (props: PdfMarkingProps) => {
centerIcon={faPen} centerIcon={faPen}
rightIcon={faCircleInfo} rightIcon={faCircleInfo}
> >
{currentUserMarks?.length > 0 && ( <PdfView
<PdfView currentFile={currentFile}
currentFile={currentFile} files={files}
files={files} handleMarkClick={handleMarkClick}
handleMarkClick={handleMarkClick} selectedMarkValue={selectedMarkValue}
selectedMarkValue={selectedMarkValue} selectedMark={selectedMark}
selectedMark={selectedMark} currentUserMarks={currentUserMarks}
currentUserMarks={currentUserMarks} otherUserMarks={otherUserMarks}
otherUserMarks={otherUserMarks} />
/>
)}
</StickySideColumns> </StickySideColumns>
{selectedMark !== null && ( {selectedMark !== null && (
<MarkFormField <MarkFormField