check filename upload

This commit is contained in:
2024-11-14 11:01:58 +00:00
parent 02f8cd706c
commit 81fbf008ea
3 changed files with 18 additions and 15 deletions
+5 -3
View File
@@ -111,9 +111,11 @@ export const statement_pdf = ({ docProps }) => {
let datestr = values.pinswg_name.split("-");
let signedDate = datestr[2] + "/" + datestr[1] + "/" + datestr[0];
let appealTypeValue = getFormCollectionByID(values.appealType);
let filterFilesList = values.filesList.filter(function (el) {
return el != null;
});
let filterFilesList = values.hasOwnProperty("filesList")
? values.filesList.filter(function (el) {
return el != null;
})
: [];
return (
<Document>