diff --git a/chrome/content/zotero/elements/notesBox.js b/chrome/content/zotero/elements/notesBox.js index c2db96afb6..eb6b8c45db 100644 --- a/chrome/content/zotero/elements/notesBox.js +++ b/chrome/content/zotero/elements/notesBox.js @@ -68,7 +68,8 @@ import { getCSSItemTypeIcon } from 'components/icons'; } notify(event, type, ids, _extraData) { - if (['modify', 'delete'].includes(event) && ids.some(id => this._noteIDs.includes(id))) { + if (['modify', 'delete'].includes(event) + && ids.some(id => this._item?.id === id || this._noteIDs.includes(id))) { this._forceRenderAll(); } }