Merge branch 'patch-4' into 'develop'
Fix audio plus other attachments when there's more than one attachment on detailed status See merge request soapbox-pub/soapbox-fe!91
This commit is contained in:
@ -121,7 +121,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
||||
onToggleVisibility={this.props.onToggleMediaVisibility}
|
||||
/>
|
||||
);
|
||||
} else if (status.getIn(['media_attachments', 0, 'type']) === 'audio') {
|
||||
} else if (status.getIn(['media_attachments', 0, 'type']) === 'audio' && status.get('media_attachments').size === 1) {
|
||||
const audio = status.getIn(['media_attachments', 0]);
|
||||
|
||||
media = (
|
||||
|
||||
Reference in New Issue
Block a user