diff options
author | Corey Hulen <corey@hulen.com> | 2015-12-04 15:22:21 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-12-04 15:22:21 -0800 |
commit | 7aab27c8ec251d9ed300772cbcae5a7f909750f7 (patch) | |
tree | ec5aa97a50904e35f8f4c22fc41ba034450ae4e4 /web/react/components/post_body_additional_content.jsx | |
parent | 8ae357c535d3f8068cd0e42ed00d48061e3ffa1d (diff) | |
parent | 975074b2ae2692f596edb263bb27727b43f33489 (diff) | |
download | chat-7aab27c8ec251d9ed300772cbcae5a7f909750f7.tar.gz chat-7aab27c8ec251d9ed300772cbcae5a7f909750f7.tar.bz2 chat-7aab27c8ec251d9ed300772cbcae5a7f909750f7.zip |
Merge pull request #1623 from mattermost/fixed-height-embeds
Fix embeds and add default fixed height
Diffstat (limited to 'web/react/components/post_body_additional_content.jsx')
-rw-r--r-- | web/react/components/post_body_additional_content.jsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/react/components/post_body_additional_content.jsx b/web/react/components/post_body_additional_content.jsx index e19bf51eb..7e6f3f037 100644 --- a/web/react/components/post_body_additional_content.jsx +++ b/web/react/components/post_body_additional_content.jsx @@ -32,6 +32,7 @@ export default class PostBodyAdditionalContent extends React.Component { return ( <PostAttachmentOEmbed key={'post_body_additional_content' + this.props.post.id} + provider={this.props.provider} link={link} /> ); @@ -68,5 +69,6 @@ export default class PostBodyAdditionalContent extends React.Component { } PostBodyAdditionalContent.propTypes = { - post: React.PropTypes.object.isRequired -};
\ No newline at end of file + post: React.PropTypes.object.isRequired, + provider: React.PropTypes.object +}; |