Update detailed_status.js
This commit is contained in:
parent
29f26745e2
commit
6d9a2fab27
1 changed files with 1 additions and 1 deletions
|
@ -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 = (
|
||||
|
|
Loading…
Reference in a new issue