diff --git a/src/components/Timeline.jsx b/src/components/Timeline.jsx index 49f375e..eb612c9 100644 --- a/src/components/Timeline.jsx +++ b/src/components/Timeline.jsx @@ -342,7 +342,7 @@ class Timeline extends React.Component { onDragStart={() => { this.onDragStart() }} onDrag={() => { this.onDrag() }} onDragEnd={() => { this.onDragEnd() }} - categories={this.props.domain.categories} + categories={this.props.app.activeCategories} features={this.props.features} /> - - {id} + + {cat} ) @@ -53,7 +52,7 @@ class TimelineCategories extends React.Component { render () { const { dims, categories } = this.props - const categoriesExist = categories && categories.length > 0 + const categoriesExist = categories && categories.length > 0 const renderedCategories = categoriesExist ? this.props.categories.map((cat, idx) => this.renderCategory(cat, idx)) : this.renderCategory('Events', 0)