Skip to content
Snippets Groups Projects
Commit 7b68e172 authored by ThibG's avatar ThibG Committed by Thibaut Girka
Browse files

[Glitch] List attachments in boost modal

Port dd45c639 to glitch-soc
parent 60adda7e
Branches
Tags
No related merge requests found
......@@ -7,6 +7,7 @@ import StatusContent from 'flavours/glitch/components/status_content';
import Avatar from 'flavours/glitch/components/avatar';
import RelativeTimestamp from 'flavours/glitch/components/relative_timestamp';
import DisplayName from 'flavours/glitch/components/display_name';
import AttachmentList from 'flavours/glitch/components/attachment_list';
import ImmutablePureComponent from 'react-immutable-pure-component';
const messages = defineMessages({
......@@ -75,6 +76,13 @@ export default class BoostModal extends ImmutablePureComponent {
</div>
<StatusContent status={status} />
{status.get('media_attachments').size > 0 && (
<AttachmentList
compact
media={status.get('media_attachments')}
/>
)}
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment