Fix high CPU during file syncing (regression from React tag selector)

This commit is contained in:
Dan Stillman 2019-03-12 06:45:25 -04:00
parent 0cf1624b7e
commit 435e628973

View file

@ -72,6 +72,9 @@ Zotero.TagSelector = class TagSelectorContainer extends React.Component {
}
if (type == 'item' || type == 'item-tag') {
if (event == 'redraw') {
return;
}
return this.setState({tags: await this.getTags()});
}