Skip to content

Commit 4f417cc

Browse files
authored
Merge pull request #452 from OpenSignLabs/fix_filename_form
2 parents 58cd049 + 780c3f5 commit 4f417cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/OpenSign/src/routes/Form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ const Forms = (props) => {
280280
<div className="flex gap-2 justify-center items-center">
281281
<div className="flex justify-between items-center px-2 py-2 w-full font-bold rounded border-[1px] border-[#ccc] text-gray-500 bg-white text-[13px]">
282282
<div className="break-all">
283-
file selected : {fileupload?.split("/")[3]?.split("_")[1]}
283+
file selected : {fileupload?.split("/")?.pop()?.split("_")[1]}
284284
</div>
285285
<div
286286
onClick={() => {

0 commit comments

Comments
 (0)