Fixed preview icon on spotify playlists

This commit is contained in:
RemixDev 2020-05-12 11:28:45 +02:00
parent 1088da6214
commit 29d99a7361

View File

@ -1044,8 +1044,9 @@ <h2 class="inline-flex"><span v-if="metadata">{{ metadata }}</span><span class="
<td> <td>
<i v-if="track.preview_url" @click=playPausePreview <i v-if="track.preview_url" @click=playPausePreview
:class="'material-icons' + (track.preview_url ? ' preview_playlist_controls' : '')" :class="'material-icons' + (track.preview_url ? ' preview_playlist_controls' : '')"
:data-preview="track.preview_url">play_arrow</i></td> :data-preview="track.preview_url">play_arrow</i>
<i v-else class="material-icons disabled">play_arrow</i> <i v-else class="material-icons disabled">play_arrow</i>
</td>
<td>{{ i+1 }}</td> <td>{{ i+1 }}</td>
<td class="inline-flex"><i v-if="track.explicit" <td class="inline-flex"><i v-if="track.explicit"
class="material-icons">explicit</i>{{ track.name }} class="material-icons">explicit</i>{{ track.name }}