Skip empty tags from connector
This commit is contained in:
parent
c65ca34afe
commit
bd5fca3c23
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ Zotero.Server.Connector.SaveSession.prototype._updateItems = Zotero.serial(async
|
|||
var libraryID = library.libraryID;
|
||||
|
||||
var tags = this._currentTags.trim();
|
||||
tags = tags ? tags.split(/\s*,\s*/) : [];
|
||||
tags = tags ? tags.split(/\s*,\s*/).filter(x => x) : [];
|
||||
|
||||
Zotero.debug("Updating items for connector save session " + this.id);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue