Don't clear other tag colors when rename colored tag
This commit is contained in:
parent
e68f87fc83
commit
e20bd35756
1 changed files with 1 additions and 0 deletions
|
@ -517,6 +517,7 @@ Zotero.Tags = new function() {
|
|||
|
||||
// Just to be safe, remove colors for tags that don't exist
|
||||
tagColors = tagColors.filter(function (val) {
|
||||
let tagIDs = self.getIDs(val.name, libraryID);
|
||||
// TEMP: handle future getIDs return format change
|
||||
return tagIDs && tagIDs.length;
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue