about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-02-17 16:38:59 +0100
committerGitHub <noreply@github.com>2020-02-17 16:38:59 +0100
commit4dec392ea85091be4c589aa213f7bb02c1d105ab (patch)
tree74341f617f78a34847aee343e0dae3f7a9d483da /app
parentc48d895ea72451d40d5c1fdc91a1fd3bdb50335c (diff)
Fix account's bio not being shown if there are no proofs/fields in admin UI (#13075)
Diffstat (limited to 'app')
-rw-r--r--app/views/admin/accounts/show.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/accounts/show.html.haml b/app/views/admin/accounts/show.html.haml
index a83f77134..a30b78db2 100644
--- a/app/views/admin/accounts/show.html.haml
+++ b/app/views/admin/accounts/show.html.haml
@@ -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