Skip blank tags when importing from Mendeley

This commit is contained in:
Dan Stillman 2018-06-24 20:00:52 +02:00
parent 7785b8df14
commit cbf63f4e72

View file

@ -400,6 +400,8 @@ Zotero_Import_Mendeley.prototype._getDocumentTags = async function (groupID) {
);
var map = new Map();
for (let row of rows) {
// Skip empty tags
if (!row.tag.trim()) continue;
let docTags = map.get(row.documentId);
if (!docTags) docTags = [];
docTags.push({