Fix double profile button in the admin

main
Thomas Sileo 2022-09-21 19:35:48 +02:00
parent 4fcf585c23
commit 8d0b5d1114
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@
{% if not metadata.is_following and not with_details %}
<li>{{ admin_profile_button(actor.ap_id) }}</li>
{% endif %}
{% elif actor.is_from_db and not with_details %}
{% elif actor.is_from_db and not with_details and not metadata.is_following %}
<li>{{ admin_profile_button(actor.ap_id) }}</li>
{% endif %}
{% if actor.moved_to %}