mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
Only show Like button when applicable
This commit is contained in:
parent
bb06cd6b63
commit
c3b0cbe361
1 changed files with 4 additions and 1 deletions
|
@ -34,7 +34,10 @@
|
|||
<div class="wrapper" v-koel-clickaway="closeEqualizer">
|
||||
<equalizer v-if="useEqualizer" v-show="showEqualizer"/>
|
||||
<sound-bar v-show="song.playbackState === 'playing'"/>
|
||||
<i class="like control fa fa-heart" :class="{ liked: song.liked }" @click.prevent="like"/>
|
||||
<i v-if="song.id"
|
||||
class="like control fa fa-heart"
|
||||
:class="{ liked: song.liked }"
|
||||
@click.prevent="like"/>
|
||||
<span class="control info"
|
||||
@click.prevent="toggleExtraPanel"
|
||||
:class="{ active: prefs.showExtraPanel }">Info</span>
|
||||
|
|
Loading…
Reference in a new issue