update upload function

This commit is contained in:
Mohamed Nouffer
2021-09-13 15:08:48 +05:30
parent b80e4b48e8
commit 5b924cddc9

View File

@ -25,8 +25,8 @@ function Uploader(props) {
function onClickHandler(e) {
const data = new FormData()
data.append('file', file);
data.append('email', props.email);
data.append('file', file);
const chk = file.name.trim();
const collator = new Intl.Collator('ja');
const order1 = collator.compare('ini_工程内検査票.xlsx', chk);