mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-11 21:08:36 +03:00
fix corner condition
This commit is contained in:
@@ -70,7 +70,7 @@ class Dashboard extends React.Component {
|
||||
let ptr = idx - 1
|
||||
|
||||
while (
|
||||
ptr > 0 &&
|
||||
ptr >= 0 &&
|
||||
(events[idx].datetime).getTime() === (events[ptr].datetime).getTime()
|
||||
) {
|
||||
matchedEvents.push(events[ptr])
|
||||
|
||||
Reference in New Issue
Block a user