give timeline constructor a 'methods' arg

This commit is contained in:
Lachlan Kermode
2018-12-04 11:21:31 +00:00
parent b1fd81f772
commit a47fbd95e2
3 changed files with 12 additions and 12 deletions

View File

@@ -44,6 +44,7 @@ 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;