add attachments to rhs search results (#7290)
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
1a2a02440c
Коммит
d13f192964
@@ -8,6 +8,7 @@ import ProfilePicture from './profile_picture.jsx';
|
||||
import CommentIcon from 'components/common/comment_icon.jsx';
|
||||
import DotMenu from 'components/dot_menu';
|
||||
import PostFlagIcon from 'components/post_view/post_flag_icon.jsx';
|
||||
import PostBodyAdditionalContent from 'components/post_view/post_body_additional_content.jsx';
|
||||
|
||||
import TeamStore from 'stores/team_store.jsx';
|
||||
|
||||
@@ -253,7 +254,7 @@ export default class SearchResultsItem extends React.Component {
|
||||
</div>
|
||||
);
|
||||
|
||||
message = (
|
||||
const messageWrapper = (
|
||||
<PostMessageContainer
|
||||
post={post}
|
||||
options={{
|
||||
@@ -262,6 +263,13 @@ export default class SearchResultsItem extends React.Component {
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
message = (
|
||||
<PostBodyAdditionalContent
|
||||
post={post}
|
||||
message={messageWrapper}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
let pinnedBadge;
|
||||
|
||||
Ссылка в новой задаче
Block a user