From 8d0b5d1114e2557128ec2034afbe91a860e92f43 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Wed, 21 Sep 2022 19:35:48 +0200 Subject: [PATCH] Fix double profile button in the admin --- app/templates/utils.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/utils.html b/app/templates/utils.html index 4814e54..3a79743 100644 --- a/app/templates/utils.html +++ b/app/templates/utils.html @@ -231,7 +231,7 @@ {% if not metadata.is_following and not with_details %}
  • {{ admin_profile_button(actor.ap_id) }}
  • {% endif %} - {% elif actor.is_from_db and not with_details %} + {% elif actor.is_from_db and not with_details and not metadata.is_following %}
  • {{ admin_profile_button(actor.ap_id) }}
  • {% endif %} {% if actor.moved_to %}