about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-14 17:34:24 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:18 -0500
commit64ba0831a2a38377e9952d1f3f3bfe82e1ae3b61 (patch)
tree92f32927a5b5a3360bb9997687617305f06f1b1e /app
parent0dff18a7f0147fccb039cc6a918d4036f3c050a7 (diff)
[UI] Check for empty tags list
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/components/status_content.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/status_content.js b/app/javascript/flavours/glitch/components/status_content.js
index f46c8a04d..d34da1a8f 100644
--- a/app/javascript/flavours/glitch/components/status_content.js
+++ b/app/javascript/flavours/glitch/components/status_content.js
@@ -366,7 +366,7 @@ export default class StatusContent extends React.PureComponent {
       </details>
     );
 
-    const tag_items = status.get('tags') && status.get('tags').map(hashtag =>
+    const tag_items = (status.get('tags') && status.get('tags').size > 0) && status.get('tags').map(hashtag =>
       (
         <li>
           <Icon id='tag' />