mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 12:49:03 +02:00
console_view: Persist onChange BySSID/ByRevision arrays between calls
This was changed compared to the upstream console view code due to bugs in our own changes code. Those are now fixed so revert to the upstream version allowing these data structures to persist and not always be reset. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
16aa9fd46b
commit
452332d142
|
@ -183,8 +183,8 @@ class Console {
|
|||
|
||||
this.sortBuildersByTags(this.all_builders);
|
||||
|
||||
this.changesBySSID = {};
|
||||
this.changesByRevision = {};
|
||||
if (this.changesBySSID == null) { this.changesBySSID = {}; }
|
||||
if (this.changesByRevision == null) { this.changesByRevision = {}; }
|
||||
for (change of Array.from(this.changes)) {
|
||||
this.changesBySSID[change.sourcestamp.ssid] = change;
|
||||
this.changesByRevision[change.revision] = change;
|
||||
|
|
Loading…
Reference in New Issue
Block a user