diff --git a/app/client/components/BaseView.js b/app/client/components/BaseView.js index 2874540c..ae5d73f0 100644 --- a/app/client/components/BaseView.js +++ b/app/client/components/BaseView.js @@ -373,7 +373,7 @@ BaseView.prototype._parsePasteForView = function(data, fields) { if (!col.length) { return col; } - const typeMatches = col[0].colType === updateColTypes[idx]; + const typeMatches = col[0] && col[0].colType === updateColTypes[idx]; const parser = parsers[idx]; return col.map(v => { if (v) {