]> cat aescling's git repositories - mastodon.git/commitdiff
Fix ReferenceError in dropdown
authorThibaut Girka <thib@sitedethib.com>
Mon, 22 Apr 2019 13:41:40 +0000 (15:41 +0200)
committerThibG <thib@sitedethib.com>
Mon, 22 Apr 2019 18:15:47 +0000 (20:15 +0200)
app/javascript/flavours/glitch/features/compose/components/dropdown_menu.js

index b4e2ec07b58155a2e3477ccd4ff2e2231bdc7110..19d35a8f41bc35a4166c853cfd6a990371ed6679 100644 (file)
@@ -91,7 +91,7 @@ class ComposerOptionsDropdownContentItem extends ImmutablePureComponent {
 
         <div className='content'>
           <strong>{text}</strong>
-          {meta ? meta : nil}
+          {meta}
         </div>
       </div>
     );