Allow to open a modal for embedded photo (#5777)
This commit is contained in:
parent
1266c66f79
commit
bf7757cbbc
5 changed files with 41 additions and 14 deletions
|
@ -73,7 +73,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
|||
);
|
||||
}
|
||||
} else if (status.get('spoiler_text').length === 0) {
|
||||
media = <CardContainer statusId={status.get('id')} />;
|
||||
media = <CardContainer onOpenMedia={this.props.onOpenMedia} statusId={status.get('id')} />;
|
||||
}
|
||||
|
||||
if (status.get('application')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue