improvements to isInLibrary

This commit is contained in:
booploops 2021-12-07 13:35:30 -08:00
parent 6282913b90
commit a29ab36a58
2 changed files with 13 additions and 5 deletions

View file

@ -75,8 +75,8 @@
:max="mk.currentPlaybackDuration" :value="playerLCD.playbackDuration">
</div>
</div>
<template v-if="mk.nowPlayingItem['attributes']['playParams']['id']">
<div class="actions" v-if="isInLibrary(mk.nowPlayingItem['attributes']['playParams']['id'])">❤️</div>
<template v-if="mk.nowPlayingItem['attributes']['playParams']">
<div class="actions" v-if="isInLibrary(mk.nowPlayingItem['attributes']['playParams'])">❤️</div>
<div class="actions" v-else>🖤</div>
</template>