diff --git a/js/component/file-actions.js b/js/component/file-actions.js index df203a467..ec4a14e06 100644 --- a/js/component/file-actions.js +++ b/js/component/file-actions.js @@ -191,7 +191,7 @@ export let FileActions = React.createClass({ return (
- {this.props.metadata.content_type.startsWith('video/') ? : null} + {(this.props.metadata.content_type && this.props.metadata.content_type.startsWith('video/')) ? : null} {this.state.fileInfo !== null || this.state.fileInfo.isMine ?
{linkBlock}
: null}