findAndUpdate instead of update

This commit is contained in:
RMidhunSuresh 2021-12-10 12:47:52 +05:30
parent 7a91dd9595
commit 287212956b

View File

@ -287,7 +287,7 @@ export class Timeline {
contextEvent.addDependent(entry); contextEvent.addDependent(entry);
entry.setContextEntry(contextEvent); entry.setContextEntry(contextEvent);
// emit this change // emit this change
this._remoteEntries.update(entry); this._findAndUpdateRelatedEntry(null, entry.id, () => true);
} }
} }
} }