Commit 84533f7d authored by Juorder Gonzalez's avatar Juorder Gonzalez Committed by GitHub

Merge pull request #199 from ZBoxApp/issues_resolved_manager

fix the way on how split the items when upload a file that contains m…
parents 1478ab0e ca8d52fd
1465307111
\ No newline at end of file
1465787195
\ No newline at end of file
module.exports = {"main":{"js":"/749887bundle.js"}}
\ No newline at end of file
module.exports = {"main":{"js":"/430297bundle.js"}}
\ No newline at end of file
......@@ -144,8 +144,9 @@ export default class ImportMassiveModal extends React.Component {
}
extractCols(data, flagDefault) {
let splitConditio = /\r\n|\r|\n/g;
let hasError = false;
const dataArray = data.split('\r\n');
const dataArray = data.split(splitConditio);
const isEmpty = dataArray.some((pos) => {
if (pos === '') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment