Browse Source

Fix account's bio not being shown if there are no proofs/fields in admin UI (#13075)

closed-social-v3
ThibG 4 years ago
committed by GitHub
parent
commit
4dec392ea8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      app/views/admin/accounts/show.html.haml

+ 3
- 3
app/views/admin/accounts/show.html.haml View 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

Loading…
Cancel
Save