Fix double profile button in the admin

outbox-fts
Thomas Sileo 2022-09-21 19:35:48 +02:00
rodzic 4fcf585c23
commit 8d0b5d1114
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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 %}