fix: don't show community id 0 in chats ui

This commit is contained in:
trisua 2025-04-27 23:46:12 -04:00
parent 81e44d402c
commit 25d2d25fbc

View file

@ -31,7 +31,7 @@
{{ icon "message-circle" }}
</a>
{% for community in communities %}
{% for community in communities %} {% if community.id != 0 %}
<a
href="/chats/{{ community.id }}/0"
class="button quaternary channel_icon {% if selected_community == community.id %}selected{% endif %}"
@ -39,7 +39,7 @@
{{ components::community_avatar(id=community.id,
community=community, size="48px") }}
</a>
{% endfor %}
{% endif %} {% endfor %}
</div>
<div class="sidebar flex flex-col gap-2" id="channels_list">