Skip to content

Commit b595bb0

Browse files
committed
fix(playlist): use favorite icon in playlist screen
1 parent c048543 commit b595bb0

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

pages/playlist/private/[id]/index.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,13 @@ const handleReorder = (tracks: TrackModel[]) => {
7575
class="flex aspect-square w-full justify-center rounded-2xl bg-background-2"
7676
>
7777
<NuxtIcon
78-
name="icon.category.playlist"
78+
:name="
79+
collection?.useLikeIcon
80+
? 'icon.category.favorites'
81+
: 'icon.category.playlist'
82+
"
7983
class="text-5xl md:text-7xl lg:text-8xl"
80-
></NuxtIcon>
84+
/>
8185
</div>
8286
</template>
8387
<template v-if="collection" #heading>

0 commit comments

Comments
 (0)