Ver código fonte

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

master^2
ThibG 4 anos atrás
committed by GitHub
pai
commit
4dec392ea8
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 3 adições e 3 exclusões
  1. +3
    -3
      app/views/admin/accounts/show.html.haml

+ 3
- 3
app/views/admin/accounts/show.html.haml Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar