about summary refs log tree commit diff
path: root/app/views/application/_card.html.haml
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-07-01 13:51:50 +0200
committerGitHub <noreply@github.com>2020-07-01 13:51:50 +0200
commit4babf5b8b5ba8eca5a14f3b2813775240db8f8f1 (patch)
tree840d597df45554c6723ca0dd996fd3f5ffde5a13 /app/views/application/_card.html.haml
parent35cedc922ced6502f18b11353df661cf61c8ae2f (diff)
Fix lock icon not being shown when locking account in profile settings (#14190)
Diffstat (limited to 'app/views/application/_card.html.haml')
-rw-r--r--app/views/application/_card.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/application/_card.html.haml b/app/views/application/_card.html.haml
index e7ecfecd9..909d9ff81 100644
--- a/app/views/application/_card.html.haml
+++ b/app/views/application/_card.html.haml
@@ -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?)})