Skip to content

Commit 92e59a0

Browse files
fix: zip file
1 parent 5394c0b commit 92e59a0

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

apps/OpenSign/src/primitives/DownloadPdfZip.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ function DownloadPdfZip(props) {
6565

6666
// Generate the ZIP and trigger download
6767
const zipBlob = await zip.generateAsync({ type: "blob" });
68-
saveAs(zipBlob, `${sanitizeFileName(pdfName)}.zip`);
68+
saveAs(
69+
zipBlob,
70+
`${sanitizeFileName(pdfName)}_signed_by_OpenSign™.zip`
71+
);
6972
setSelectType(1);
7073
props.setIsDownloadModal(false);
7174
setIsDownloading("");
@@ -83,16 +86,19 @@ function DownloadPdfZip(props) {
8386
<div className="p-[20px] h-full">
8487
{downloadType.map((data, ind) => {
8588
return (
86-
<div key={ind} className="flex items-center gap-1 mb-2">
89+
<label
90+
key={ind}
91+
className="flex items-center gap-1 mb-2 cursor-pointer"
92+
>
8793
<input
8894
className="mr-[8px] op-radio op-radio-xs"
8995
type="radio"
9096
value={data.id}
9197
onChange={() => setSelectType(data.id)}
9298
checked={selectType === data.id}
9399
/>
94-
<span>{data.label}</span>
95-
</div>
100+
{data.label}
101+
</label>
96102
);
97103
})}
98104
<div className="h-[1px] w-full my-[15px] bg-[#9f9f9f]"></div>

0 commit comments

Comments
 (0)