From 8ec07266b9b64a911e58ab53cc33ee660724cf29 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 3 May 2017 14:48:29 -0400 Subject: [PATCH] trimleft on first lastpass chunk --- src/app/services/importService.js | 3 +++ 1 file changed, 3 insertions(+) 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+/, ''); } }); }