mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
fix: null song art makes bad request
This commit is contained in:
parent
9789933991
commit
35b7e952ca
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
@contextmenu.prevent="requestContextMenu"
|
||||
@dblclick.prevent="play"
|
||||
>
|
||||
<span :style="{ backgroundImage: `url(${song.album_cover}), url(${defaultCover})` }" class="cover">
|
||||
<span :style="{ backgroundImage: `url(${song.album_cover ?? ''}), url(${defaultCover})` }" class="cover">
|
||||
<a class="control" @click.prevent="changeSongState" data-testid="play-control">
|
||||
<icon :icon="song.playback_state === 'Playing' ? faPause : faPlay" class="text-highlight"/>
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue