Skip blank tags when importing from Mendeley
This commit is contained in:
parent
7785b8df14
commit
cbf63f4e72
1 changed files with 2 additions and 0 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue