File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
apps/OpenSign/src/primitives Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,10 @@ function DownloadPdfZip(props) {
65
65
66
66
// Generate the ZIP and trigger download
67
67
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
+ ) ;
69
72
setSelectType ( 1 ) ;
70
73
props . setIsDownloadModal ( false ) ;
71
74
setIsDownloading ( "" ) ;
@@ -83,16 +86,19 @@ function DownloadPdfZip(props) {
83
86
< div className = "p-[20px] h-full" >
84
87
{ downloadType . map ( ( data , ind ) => {
85
88
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
+ >
87
93
< input
88
94
className = "mr-[8px] op-radio op-radio-xs"
89
95
type = "radio"
90
96
value = { data . id }
91
97
onChange = { ( ) => setSelectType ( data . id ) }
92
98
checked = { selectType === data . id }
93
99
/>
94
- < span > { data . label } </ span >
95
- </ div >
100
+ { data . label }
101
+ </ label >
96
102
) ;
97
103
} ) }
98
104
< div className = "h-[1px] w-full my-[15px] bg-[#9f9f9f]" > </ div >
You can’t perform that action at this time.
0 commit comments