Merge pull request 'Compare unique address instead of human-readable title' (#4) from feature/highlight-now-playing into main

Reviewed-on: https://codeberg.org/banaanihillo/Hyperpipe/pulls/4
This commit is contained in:
banaanihillo 2024-04-27 16:29:44 +00:00
commit b0bac43cc7

View file

@ -128,7 +128,7 @@ const openSong = el => {
@click.prevent="artist.getArtist(channel.replace('/channel/', ''))"> @click.prevent="artist.getArtist(channel.replace('/channel/', ''))">
<i class="ign">{{ author ? author.replaceAll(' - Topic', '') : '' }}</i> <i class="ign">{{ author ? author.replaceAll(' - Topic', '') : '' }}</i>
</a> </a>
<span v-if="title === data.state?.title"> <span v-if="play === data.state?.url">
<span class="bi-play"></span> <span class="bi-play"></span>
<span>{{ t('title.now_playing') }}</span> <span>{{ t('title.now_playing') }}</span>
</span> </span>