- allowed PDF for call #10;

This commit is contained in:
Vitalii Kiiko
2024-11-06 09:39:29 +01:00
parent de36837f04
commit f45ff082d4
3 changed files with 14 additions and 3 deletions

View File

@@ -155,6 +155,7 @@ const FileuploadApplicationSignedPdf = ({
return res;
}) : [];
// eslint-disable-next-line no-useless-escape
setAcceptFormats(properMime.join(',').replace(/\*/g, '.\*').replace(/,/g, '|'));
setFormatsForInput(properMime.join(','));