Info duplication on connection interruption on live page
mattrasband opened this issue · 1 comments
mattrasband commented
If a socket connection is interrupted during a flight, the info pane is populated with a duplicate edgeId and info, only the latest is then updated with new data.
mattrasband commented
Fixed a bit ago, but figured I should leave a comment as to what was happening. We had not planned on connection interruptions without a page reload, so if a connection was interrupted at all, the code assumed that there was no info displayed on the page yet and would add a new section to the info area without first checking if one was already there. The fix was easy, just check if we can get the element we would otherwise add before adding it.