Update Notes section on add (#4554)
This commit is contained in:
parent
b1b06cedde
commit
98b3745a20
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue