fix: don't show community id 0 in chats ui
This commit is contained in:
parent
81e44d402c
commit
25d2d25fbc
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
||||||
{{ icon "message-circle" }}
|
{{ icon "message-circle" }}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{% for community in communities %}
|
{% for community in communities %} {% if community.id != 0 %}
|
||||||
<a
|
<a
|
||||||
href="/chats/{{ community.id }}/0"
|
href="/chats/{{ community.id }}/0"
|
||||||
class="button quaternary channel_icon {% if selected_community == community.id %}selected{% endif %}"
|
class="button quaternary channel_icon {% if selected_community == community.id %}selected{% endif %}"
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
{{ components::community_avatar(id=community.id,
|
{{ components::community_avatar(id=community.id,
|
||||||
community=community, size="48px") }}
|
community=community, size="48px") }}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endif %} {% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sidebar flex flex-col gap-2" id="channels_list">
|
<div class="sidebar flex flex-col gap-2" id="channels_list">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue