mirror of
https://github.com/zotero/zotero.git
synced 2026-10-09 03:18:01 +00:00
Fix high CPU during file syncing (regression from React tag selector)
This commit is contained in:
parent
0cf1624b7e
commit
435e628973
1 changed files with 3 additions and 0 deletions
|
|
@ -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()});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue