mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
display slack attachments in RHS comment section
This commit is contained in:
@@ -9,6 +9,7 @@ var utils = require('../utils/utils.jsx');
|
||||
var FileAttachmentList = require('./file_attachment_list.jsx');
|
||||
var twemoji = require('twemoji');
|
||||
var Constants = require('../utils/constants.jsx');
|
||||
const PostBodyAdditionalContent = require('./post_body_additional_content.jsx');
|
||||
|
||||
export default class RhsRootPost extends React.Component {
|
||||
constructor(props) {
|
||||
@@ -180,6 +181,9 @@ export default class RhsRootPost extends React.Component {
|
||||
onClick={TextFormatting.handleClick}
|
||||
dangerouslySetInnerHTML={{__html: TextFormatting.formatText(post.message)}}
|
||||
/>
|
||||
<PostBodyAdditionalContent
|
||||
post={post}
|
||||
/>
|
||||
{fileAttachment}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -674,7 +674,7 @@ body.ios {
|
||||
width: 20%;
|
||||
float: right;
|
||||
img {
|
||||
height: 75px;
|
||||
max-height: 75px;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user