From 2924759b01b8da4041a09dc3a2451dc6baaec09a Mon Sep 17 00:00:00 2001 From: trisua <tri@swmff.org> Date: Mon, 28 Apr 2025 00:06:00 -0400 Subject: [PATCH] fix: show listening status on profile with link hidden --- crates/app/src/public/html/chats/app.html | 1 - crates/app/src/public/html/profile/base.html | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/app/src/public/html/chats/app.html b/crates/app/src/public/html/chats/app.html index e978383..bc2026a 100644 --- a/crates/app/src/public/html/chats/app.html +++ b/crates/app/src/public/html/chats/app.html @@ -94,7 +94,6 @@ <a class="w-full justify-start button {% if selected_channel == channel.id %}quaternary{% else %}camo{% endif %}" href="/chats/{{ selected_community }}/{{ channel.id }}" - data-turbo="false" > {{ icon "rss" }} <b class="name shortest">{{ channel.title }}</b> diff --git a/crates/app/src/public/html/profile/base.html b/crates/app/src/public/html/profile/base.html index 7c2065d..030a1d7 100644 --- a/crates/app/src/public/html/profile/base.html +++ b/crates/app/src/public/html/profile/base.html @@ -107,9 +107,9 @@ <div class="card flex flex-col gap-2"> <!-- prettier-ignore --> <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]) }} - {% 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]) }} {% endif %} </div>