diff options
Diffstat (limited to 'animism-align/frontend/views/align/components/annotations/annotation.index.js')
| -rw-r--r-- | animism-align/frontend/views/align/components/annotations/annotation.index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/animism-align/frontend/views/align/components/annotations/annotation.index.js b/animism-align/frontend/views/align/components/annotations/annotation.index.js index eccd8b7..3a78dd4 100644 --- a/animism-align/frontend/views/align/components/annotations/annotation.index.js +++ b/animism-align/frontend/views/align/components/annotations/annotation.index.js @@ -75,7 +75,7 @@ class AnnotationIndex extends Component { actions.align.showEditAnnotationForm(annotation) } render() { - const { timeline, annotationInForm } = this.props + const { timeline, media, annotationInForm } = this.props const { start_ts, zoom, selected_annotation_id } = timeline const { items } = this.state const className = (zoom < 2) @@ -98,6 +98,7 @@ class AnnotationIndex extends Component { y={y} selected={annotation.id === selected_annotation_id} annotation={annotation} + media={media} onClick={this.handleClick} onDoubleClick={this.handleDoubleClick} /> @@ -112,6 +113,7 @@ const mapStateToProps = state => ({ timeline: state.align.timeline, annotationInForm: state.align.annotation, index: state.annotation.index, + media: state.media.index, }) const mapDispatchToProps = dispatch => ({ |
