mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +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"
|
@contextmenu.prevent="requestContextMenu"
|
||||||
@dblclick.prevent="play"
|
@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">
|
<a class="control" @click.prevent="changeSongState" data-testid="play-control">
|
||||||
<icon :icon="song.playback_state === 'Playing' ? faPause : faPlay" class="text-highlight"/>
|
<icon :icon="song.playback_state === 'Playing' ? faPause : faPlay" class="text-highlight"/>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue