]> cat aescling's git repositories - mastodon.git/commitdiff
Fix account's bio not being shown if there are no proofs/fields in admin UI (#13075)
authorThibG <thib@sitedethib.com>
Mon, 17 Feb 2020 15:38:59 +0000 (16:38 +0100)
committerGitHub <noreply@github.com>
Mon, 17 Feb 2020 15:38:59 +0000 (16:38 +0100)
app/views/admin/accounts/show.html.haml

index a83f771340f028f6ba6175b2d3b3c769c7f6feea..a30b78db2c34b96e17ec1b1b8c6e4985cfc4e19e 100644 (file)
@@ -27,9 +27,9 @@
                     = fa_icon 'check'
                 = Formatter.instance.format_field(account, field.value, custom_emojify: true)
 
-      - if account.note.present?
-        %div
-          .account__header__content.emojify= Formatter.instance.simplified_format(account, custom_emojify: true)
+    - if account.note.present?
+      %div
+        .account__header__content.emojify= Formatter.instance.simplified_format(account, custom_emojify: true)
 
 .dashboard__counters{ style: 'margin-top: 10px' }
   %div