Move line into if
This commit is contained in:
parent
c6484f1eac
commit
0a09a50ab9
1 changed files with 1 additions and 1 deletions
|
@ -230,8 +230,8 @@ export class Timeline {
|
|||
const oldEntry = this._contextEntriesNotInTimeline.get(entry.id)
|
||||
if (oldEntry) {
|
||||
Timeline._entryUpdater(oldEntry, entry);
|
||||
this._contextEntriesNotInTimeline.set(entry.id, entry);
|
||||
}
|
||||
this._contextEntriesNotInTimeline.set(entry.id, entry);
|
||||
// Since this entry changed, all dependent entries should be updated
|
||||
entry.contextForEntries?.forEach(e => this._updateEntry(e));
|
||||
} catch (err) {
|
||||
|
|
Reference in a new issue