Fixed download of single tracks from playlists with no track preview

This commit is contained in:
RemixDev 2020-06-14 21:17:24 +02:00
parent b5021e12e3
commit 26b3984a04

View File

@ -1322,7 +1322,7 @@ <h2 class="inline-flex"><span v-if="metadata">{{ metadata }}</span><span class="
<div class="table__cell-content table__cell-content--vertical-center">
<i class="material-icons"
:class="{ 'preview_playlist_controls' : track.preview, disabled: !track.preview }"
v-on="{ click: track.preview ? playPausePreview : null }" :data-preview="track.preview">
v-on="{ click: track.preview ? playPausePreview : false }" :data-preview="track.preview">
play_arrow
</i>
</div>