Этот коммит содержится в:
Christopher Speller
2017-01-12 19:59:37 -05:00
родитель 4208e42ba9 aafb8be87c
Коммит 8fb66c2b83
61 изменённых файлов: 1801 добавлений и 1544 удалений

Просмотреть файл

@@ -136,7 +136,7 @@ export default class PostBodyAdditionalContent extends React.Component {
}
generateStaticEmbed() {
if (this.props.post.type === Constants.POST_TYPE_ATTACHMENT) {
if (this.props.post.props && this.props.post.props.attachments) {
return this.getSlackAttachment();
}