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)
|
const oldEntry = this._contextEntriesNotInTimeline.get(entry.id)
|
||||||
if (oldEntry) {
|
if (oldEntry) {
|
||||||
Timeline._entryUpdater(oldEntry, entry);
|
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
|
// Since this entry changed, all dependent entries should be updated
|
||||||
entry.contextForEntries?.forEach(e => this._updateEntry(e));
|
entry.contextForEntries?.forEach(e => this._updateEntry(e));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
Reference in a new issue