Skip to content

Commit

Permalink
fix: relatedItems background color and avatar prepend
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Bongers authored and ThibaultNocchi committed Jan 28, 2023
1 parent 0253722 commit beebeb9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions frontend/src/components/Item/RelatedItems.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,19 @@
</h2>
<!-- TODO: Wait for Vuetify 3.1 -->
<!-- <v-skeleton-loader v-else-if="loading" type="heading" /> -->
<v-list color="transparent" lines="two">
<v-list bg-color="transparent" lines="two">
<div v-if="!loading && relatedItems.length > 0">
<v-list-item
v-for="relatedItem in relatedItems"
:key="relatedItem.Id"
:to="getItemDetailsLink(relatedItem)">
<v-avatar>
<v-avatar color="card">
<blurhash-image :item="relatedItem" />
<template #prepend>
<v-avatar>
<v-avatar color="card">
<blurhash-image :item="relatedItem" />
</v-avatar>
</v-avatar>
</v-avatar>
</template>
<v-list-item-title>{{ relatedItem.Name }}</v-list-item-title>
<v-list-item-subtitle>
{{ relatedItem.ProductionYear }}
Expand Down

0 comments on commit beebeb9

Please sign in to comment.