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}
rightIcon={faCircleInfo}
>
{currentUserMarks?.length > 0 && (
<PdfView
currentFile={currentFile}
files={files}
handleMarkClick={handleMarkClick}
selectedMarkValue={selectedMarkValue}
selectedMark={selectedMark}
currentUserMarks={currentUserMarks}
otherUserMarks={otherUserMarks}
/>
)}
<PdfView
currentFile={currentFile}
files={files}
handleMarkClick={handleMarkClick}
selectedMarkValue={selectedMarkValue}
selectedMark={selectedMark}
currentUserMarks={currentUserMarks}
otherUserMarks={otherUserMarks}
/>
</StickySideColumns>
{selectedMark !== null && (
<MarkFormField