Add star tag for favorite items
This commit is contained in:
parent
da5db4cb38
commit
bd5f2525dc
1 changed files with 8 additions and 1 deletions
|
@ -617,7 +617,14 @@ Zotero_Import_Mendeley.prototype._documentToAPIJSON = async function (map, docum
|
|||
}
|
||||
}
|
||||
}
|
||||
if (tags) parent.tags = tags;
|
||||
parent.tags = [];
|
||||
// Add star tag for favorites
|
||||
if (documentRow.favourite == 'true') {
|
||||
parent.tags.push('\u2605');
|
||||
}
|
||||
if (tags) {
|
||||
parent.tags.push(...tags);
|
||||
}
|
||||
if (collections) parent.collections = collections;
|
||||
|
||||
// Copy date added/modified to child item
|
||||
|
|
Loading…
Reference in a new issue