- fixed displaying tables;
- fixed uploading signed pdf for application; - added downloading modullistica archive; - added basic table related validator;
This commit is contained in:
@@ -143,7 +143,8 @@ const FileuploadDelega = ({
|
||||
}, [defaultValue]);
|
||||
|
||||
useEffect(() => {
|
||||
const properMime = accept
|
||||
const properMime = accept.map
|
||||
? accept
|
||||
.map(v => {
|
||||
const found = head(mimeTypes.filter(o => o.code.includes(v)));
|
||||
let res = v;
|
||||
@@ -153,7 +154,7 @@ const FileuploadDelega = ({
|
||||
}
|
||||
|
||||
return res;
|
||||
})
|
||||
}) : [];
|
||||
// eslint-disable-next-line no-useless-escape
|
||||
setAcceptFormats(properMime.join(',').replace(/\*/g, '.\*').replace(/,/g, '|'));
|
||||
setFormatsForInput(properMime.join(','))
|
||||
|
||||
Reference in New Issue
Block a user