diff --git a/content.js b/content.js index 2564f27..6903a63 100644 --- a/content.js +++ b/content.js @@ -155,7 +155,7 @@ function getApplicantArchiveFileName(afile) { const extension = sourceName.includes(".") ? `.${sanitizeZipPathSegment(sourceName.split(".").slice(-1)[0], "file")}` : "" - const baseName = sanitizeZipPathSegment(afile.field_name ?? afile.file_name, "file") + const baseName = sanitizeZipPathSegment(afile.name, "file") return `${baseName}${extension}` }