fix: prevent double default covers

This commit is contained in:
Phan An 2022-07-05 16:11:45 +02:00
parent 213ae815fd
commit f1b0a62009
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC

View file

@ -11,7 +11,7 @@
@dragstart="dragStart" @dragstart="dragStart"
@contextmenu.prevent="requestContextMenu" @contextmenu.prevent="requestContextMenu"
> >
<span class="thumbnail-wrapper" :style="{ backgroundImage: `url(${defaultCover})` }"> <span class="thumbnail-wrapper">
<ArtistThumbnail :entity="artist"/> <ArtistThumbnail :entity="artist"/>
</span> </span>
@ -57,7 +57,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { computed, defineAsyncComponent, toRef, toRefs } from 'vue' import { computed, defineAsyncComponent, toRef, toRefs } from 'vue'
import { defaultCover, eventBus, pluralize, startDragging } from '@/utils' import { eventBus, pluralize, startDragging } from '@/utils'
import { artistStore, commonStore, songStore } from '@/stores' import { artistStore, commonStore, songStore } from '@/stores'
import { downloadService, playbackService } from '@/services' import { downloadService, playbackService } from '@/services'