fix(sign): always show PdfView

This commit is contained in:
enes 2024-12-23 16:39:24 +01:00
parent ca7b87a967
commit 8df5084703

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