0
0
Fork 0

Show media modal on public timeline (#7413)

This commit is contained in:
Yamagishi Kazutoshi 2018-05-08 20:33:09 +09:00 committed by Eugen Rochko
parent 01dfd6dbc8
commit e0b1e17bd0
5 changed files with 26 additions and 3 deletions

View file

@ -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>
);