Merge pull request #7399 from R2bEEaton/import-users-csv-carriage-return

Import Users CSV Carriage Return Support #7398
This commit is contained in:
Martin McKeaveney 2022-08-25 12:49:56 +01:00 committed by GitHub
commit 767a917847
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@
csvString = e.target.result csvString = e.target.result
files = fileArray files = fileArray
userEmails = csvString.split("\n") userEmails = csvString.split(/\r?\n/)
}) })
reader.readAsText(fileArray[0]) reader.readAsText(fileArray[0])
} }