From 57ccec8b03e31b7511068106bf96506f0c347cbf Mon Sep 17 00:00:00 2001 From: Jeremy Kescher Date: Wed, 27 Apr 2022 23:25:28 +0200 Subject: [PATCH] Adjust detailed_status component to match upstream --- .../glitch/features/status/components/detailed_status.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/javascript/flavours/glitch/features/status/components/detailed_status.js b/app/javascript/flavours/glitch/features/status/components/detailed_status.js index 528d2eb737..f4e6c24c54 100644 --- a/app/javascript/flavours/glitch/features/status/components/detailed_status.js +++ b/app/javascript/flavours/glitch/features/status/components/detailed_status.js @@ -134,10 +134,6 @@ class DetailedStatus extends ImmutablePureComponent { outerStyle.height = `${this.state.height}px`; } - if (status.get('poll')) { - media.push(); - mediaIcons.push('tasks'); - } if (usingPiP) { media.push(); mediaIcons.push('video-camera'); @@ -202,6 +198,11 @@ class DetailedStatus extends ImmutablePureComponent { mediaIcons.push('link'); } + if (status.get('poll')) { + media.push(); + mediaIcons.push('tasks'); + } + if (status.get('application')) { applicationLink = ยท {status.getIn(['application', 'name'])}; }