diff --git a/src/app/services/importService.js b/src/app/services/importService.js index b6fbea37ba..7298b4c409 100644 --- a/src/app/services/importService.js +++ b/src/app/services/importService.js @@ -309,6 +309,9 @@ complete: function (results) { parseCsvErrors(results); parseData(results.data); + }, + beforeFirstChunk: function (chunk) { + return chunk.replace(/^\s+/, ''); } }); }