From 6d9a2fab27f43335b3c67bd6d4d1ce4525e6e5b3 Mon Sep 17 00:00:00 2001 From: Sean King Date: Fri, 3 Jul 2020 00:06:26 +0000 Subject: [PATCH] Update detailed_status.js --- app/soapbox/features/status/components/detailed_status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/features/status/components/detailed_status.js b/app/soapbox/features/status/components/detailed_status.js index 6d38e06e9..e82fb5990 100644 --- a/app/soapbox/features/status/components/detailed_status.js +++ b/app/soapbox/features/status/components/detailed_status.js @@ -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 = (