mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
proper fix of GRAPH_NONLOCATED
This commit is contained in:
@@ -61,7 +61,9 @@ class Dashboard extends React.Component {
|
||||
const idx = binarySearch(
|
||||
events,
|
||||
selected,
|
||||
(e1, e2) => e1.datetime - e2.datetime
|
||||
(e1, e2) => {
|
||||
return e2.datetime - e1.datetime
|
||||
}
|
||||
)
|
||||
// check events before
|
||||
let ptr = idx - 1
|
||||
|
||||
Reference in New Issue
Block a user