add default thumb

This commit is contained in:
les
2021-03-18 22:38:55 +01:00
parent e95096dd97
commit 7e9a05e91e
2 changed files with 275 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
<template lang="pug">
v-card.h-event.event
nuxt-link(:to='`/event/${event.id}`')
v-img.img(:src="`/media/thumb/${event.image_path || 'logo.png' }`")
v-img.img(:src="`/media/thumb/${event.image_path || 'logo.svg' }`")
v-icon.float-right.mr-1(v-if='event.parentId' color='success') mdi-repeat
.title.p-name {{event.title}}