sforkowany z mirror/soapbox
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!91tl-language-filters
commit
015c9559dd
|
@ -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 = (
|
||||
|
|
Ładowanie…
Reference in New Issue