fix: show listening status on profile with link hidden
This commit is contained in:
parent
d669cd4d4e
commit
2924759b01
2 changed files with 2 additions and 3 deletions
|
@ -94,7 +94,6 @@
|
||||||
<a
|
<a
|
||||||
class="w-full justify-start button {% if selected_channel == channel.id %}quaternary{% else %}camo{% endif %}"
|
class="w-full justify-start button {% if selected_channel == channel.id %}quaternary{% else %}camo{% endif %}"
|
||||||
href="/chats/{{ selected_community }}/{{ channel.id }}"
|
href="/chats/{{ selected_community }}/{{ channel.id }}"
|
||||||
data-turbo="false"
|
|
||||||
>
|
>
|
||||||
{{ icon "rss" }}
|
{{ icon "rss" }}
|
||||||
<b class="name shortest">{{ channel.title }}</b>
|
<b class="name shortest">{{ channel.title }}</b>
|
||||||
|
|
|
@ -107,9 +107,9 @@
|
||||||
<div class="card flex flex-col gap-2">
|
<div class="card flex flex-col gap-2">
|
||||||
<!-- prettier-ignore -->
|
<!-- prettier-ignore -->
|
||||||
<div style="display: contents;">
|
<div style="display: contents;">
|
||||||
{% if profile.connections.Spotify and profile.connections.Spotify[0].data.name and profile.connections.Spotify[0].show_on_profile %}
|
{% if profile.connections.Spotify and profile.connections.Spotify[0].data.name %}
|
||||||
{{ components::spotify_playing(state=profile.connections.Spotify[1]) }}
|
{{ components::spotify_playing(state=profile.connections.Spotify[1]) }}
|
||||||
{% elif profile.connections.LastFm and profile.connections.LastFm[0].data.name and profile.connections.LastFm[0].show_on_profile %}
|
{% elif profile.connections.LastFm and profile.connections.LastFm[0].data.name %}
|
||||||
{{ components::last_fm_playing(state=profile.connections.LastFm[1]) }}
|
{{ components::last_fm_playing(state=profile.connections.LastFm[1]) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue