From e5affccb8ab3a002374424227364ec17d99a0105 Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Tue, 4 Dec 2018 12:06:04 +0000 Subject: [PATCH] timeline and map pass same representation for select --- src/components/Dashboard.jsx | 1 - src/js/timeline/timeline.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/Dashboard.jsx b/src/components/Dashboard.jsx index 2a66343..5a38e57 100644 --- a/src/components/Dashboard.jsx +++ b/src/components/Dashboard.jsx @@ -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; diff --git a/src/js/timeline/timeline.js b/src/js/timeline/timeline.js index 3240bce..0aa8e14 100644 --- a/src/js/timeline/timeline.js +++ b/src/js/timeline/timeline.js @@ -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); } /*