Skip to content

Commit

Permalink
Rerender item box on collection tree row change
Browse files Browse the repository at this point in the history
The Feed field hides/shows depending on collection tree row.
  • Loading branch information
AbeJellinek committed May 23, 2024
1 parent e17784f commit 054967b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chrome/content/zotero/elements/itemBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@
`, ['chrome://zotero/locale/zotero.dtd']);
}

get _renderDependencies() {
return [...super._renderDependencies, this.collectionTreeRow?.id];
}

init() {
this.initCollapsibleSection();
this._creatorTypeMenu.addEventListener('command', async (event) => {
Expand Down

0 comments on commit 054967b

Please sign in to comment.