feature: Show which track is Now Playing within a playlist

Fixes #147
This commit is contained in:
banaanihillo@protonmail.ch 2024-04-27 15:32:56 +03:00
parent 34564460d9
commit 9d01ae1825
2 changed files with 7 additions and 2 deletions

View file

@ -128,13 +128,17 @@ const openSong = el => {
@click.prevent="artist.getArtist(channel.replace('/channel/', ''))">
<i class="ign">{{ author ? author.replaceAll(' - Topic', '') : '' }}</i>
</a>
<span v-if="title === data.state?.title">
<span class="bi-play"></span>
<span>{{ t('title.now_playing') }}</span>
</span>
</span>
<button
class="bi bi-three-dots-vertical popup-wrap ign"
@mouseenter="show = true"
@mouseleave="show = false"
@click.enter="show = !show">
@keyup.enter="show = !show">
<Transition name="fade">
<div v-if="show" class="popup ign">
<button