mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 05:18:34 +03:00
timeline and map pass same representation for select
This commit is contained in:
@@ -44,7 +44,6 @@ class Dashboard extends React.Component {
|
||||
}
|
||||
|
||||
handleSelect(selected) {
|
||||
console.log(selected)
|
||||
if (selected) {
|
||||
let eventsToSelect = selected.map(event => this.getEventById(event.id));
|
||||
const parser = this.props.ui.tools.parser;
|
||||
|
||||
@@ -258,7 +258,6 @@ export default function(app, ui, methods) {
|
||||
const category = eventPoint.category;
|
||||
return events
|
||||
.filter(event => (event.timestamp === timestamp && category === event.category))
|
||||
.map(event => event.id);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user