Commit b02ae92f authored by Sudheer's avatar Sudheer Committed by Harrison Healey
Browse files

Add a check for metadata on MessageAttachmentList (#2077)

parent a32c9226
......@@ -134,7 +134,7 @@ export default class PostBodyAdditionalContent extends React.PureComponent {
postId={this.props.post.id}
key={this.props.post.id}
options={this.props.options}
imagesMetadata={this.props.post.metadata.images}
imagesMetadata={this.props.post.metadata && this.props.post.metadata.images}
/>
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment