mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
Fix "Rename from Parent" not visible after the parent item changes Close #5542
This commit is contained in:
parent
91a74ed063
commit
516d230647
1 changed files with 4 additions and 0 deletions
|
|
@ -319,6 +319,10 @@
|
|||
}
|
||||
|
||||
notify(event, _type, ids, _extraData) {
|
||||
if (ids.includes(this.item?.parentItem?.id)) {
|
||||
// Ensure the "Rename from Parent" button is visible after the parent item changes (#5542)
|
||||
this._resetRenderedFlags();
|
||||
}
|
||||
if (event != 'modify' || !this.item?.id || !ids.includes(this.item.id)) return;
|
||||
|
||||
// Wait for the render finish and then refresh
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue