Fix RTF Scan never marks citations as unmapped (#4328)
This commit is contained in:
parent
21203501a9
commit
2b5e116717
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ const Zotero_RTFScan = { // eslint-disable-line no-unused-vars, camelcase
|
||||||
Zotero.debug("Mapped to " + ids);
|
Zotero.debug("Mapped to " + ids);
|
||||||
this.citationItemIDs[citationString] = ids;
|
this.citationItemIDs[citationString] = ids;
|
||||||
|
|
||||||
if (!ids) { // no mapping found
|
if (!ids.length) { // no mapping found
|
||||||
let row = _generateItem(citationString, "");
|
let row = _generateItem(citationString, "");
|
||||||
row.parent = unmappedRow;
|
row.parent = unmappedRow;
|
||||||
this.insertRows(row, this.rowMap.ambiguous);
|
this.insertRows(row, this.rowMap.ambiguous);
|
||||||
|
|
Loading…
Reference in a new issue