mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-25 16:19:43 +02:00
image bug fix
This commit is contained in:
parent
53e97c5315
commit
da9826dc7c
2 changed files with 8 additions and 3 deletions
|
@ -2,8 +2,13 @@
|
|||
<v-card :ripple="false" class="mx-auto" hover :to="`/recipe/${slug}`" @click="$emit('selected')">
|
||||
<v-list-item three-line>
|
||||
<v-list-item-avatar tile size="125" class="v-mobile-img rounded-sm my-0 ml-n4">
|
||||
<v-img v-if="!fallBackImage" :src="getImage(slug)" @error="fallBackImage = true"></v-img>
|
||||
<v-icon color="primary" class="icon-position" size="100">
|
||||
<v-img
|
||||
v-if="!fallBackImage"
|
||||
:src="getImage(slug)"
|
||||
@load="fallBackImage = false"
|
||||
@error="fallBackImage = true"
|
||||
></v-img>
|
||||
<v-icon v-else color="primary" class="icon-position" size="100">
|
||||
mdi-silverware-variant
|
||||
</v-icon>
|
||||
</v-list-item-avatar>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue