Fix lock icon not being shown when locking account in profile settings (#14190)

This commit is contained in:
ThibG 2020-07-01 13:51:50 +02:00 committed by GitHub
parent 35cedc922c
commit 4babf5b8b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 5 deletions

View file

@ -13,4 +13,4 @@
%strong.emojify.p-name= display_name(account, custom_emojify: true)
%span
= acct(account)
= fa_icon('lock') if account.locked?
= fa_icon('lock', { :data => ({hidden: true} unless account.locked?)})