Allow to open a modal for embedded photo (#5777)
This commit is contained in:
committed by
Eugen Rochko
parent
1266c66f79
commit
bf7757cbbc
@ -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')) {
|
||||
|
Reference in New Issue
Block a user