Show media modal on public timeline (#7413)
This commit is contained in:
parent
01dfd6dbc8
commit
e0b1e17bd0
5 changed files with 26 additions and 3 deletions
|
@ -206,7 +206,7 @@ export default class Status extends ImmutablePureComponent {
|
|||
);
|
||||
} else {
|
||||
media = (
|
||||
<Bundle fetchComponent={MediaGallery} loading={this.renderLoadingMediaGallery} >
|
||||
<Bundle fetchComponent={MediaGallery} loading={this.renderLoadingMediaGallery}>
|
||||
{Component => <Component media={status.get('media_attachments')} sensitive={status.get('sensitive')} height={110} onOpenMedia={this.props.onOpenMedia} />}
|
||||
</Bundle>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue