about summary refs log tree commit diff
path: root/app/views/accounts/show.html.haml
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-15 19:41:25 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:18 -0500
commitd8d97d4d829a868c57a512677bc3770e30476f42 (patch)
tree1de89bd43839b5a2fe722c75de8d8945e41103cc /app/views/accounts/show.html.haml
parentdb8e5524db15e19c16b63943ada83b3ac7b75ec6 (diff)
[UI] Exclude Mentions tab on own profile
Diffstat (limited to 'app/views/accounts/show.html.haml')
-rw-r--r--app/views/accounts/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml
index 461262f60..3400bfcd5 100644
--- a/app/views/accounts/show.html.haml
+++ b/app/views/accounts/show.html.haml
@@ -30,7 +30,7 @@
       .account__section-headline
         = active_link_to t('accounts.posts_tab_heading'), short_account_url(@account)
         = active_link_to t('accounts.threads'), short_account_threads_url(@account)
-        - if @account.present?
+        - if current_account.present? && @account.id != current_account.id
           = active_link_to t('accounts.mentions'), short_account_mentions_url(@account)
         - if @account.show_replies?
           = active_link_to t('accounts.posts_with_replies'), short_account_with_replies_url(@account)