mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixing various issues with markdown spacing (#5203)
This commit is contained in:
committed by
Corey Hulen
parent
e07e9937e0
commit
28124d8476
@@ -4,6 +4,7 @@
|
||||
import UserStore from 'stores/user_store.jsx';
|
||||
import * as Utils from 'utils/utils.jsx';
|
||||
import * as GlobalActions from 'actions/global_actions.jsx';
|
||||
import * as PostUtils from 'utils/post_utils.jsx';
|
||||
import Constants from 'utils/constants.jsx';
|
||||
import CommentedOnFilesMessageContainer from './commented_on_files_message_container.jsx';
|
||||
import FileAttachmentListContainer from 'components/file_attachment_list_container.jsx';
|
||||
@@ -141,6 +142,10 @@ export default class PostBody extends React.Component {
|
||||
);
|
||||
}
|
||||
|
||||
if (PostUtils.isEdited(this.props.post)) {
|
||||
postClass += ' post--edited';
|
||||
}
|
||||
|
||||
let fileAttachmentHolder = null;
|
||||
if (((post.file_ids && post.file_ids.length > 0) || (post.filenames && post.filenames.length > 0)) && this.props.post.state !== Constants.POST_DELETED) {
|
||||
fileAttachmentHolder = (
|
||||
|
||||
Reference in New Issue
Block a user