1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-25 07:37:16 +09:00

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

This commit is contained in:
ThibG 2020-02-17 16:38:59 +01:00 committed by GitHub
parent c48d895ea7
commit 4dec392ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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