Hiding serie poster container if no poster is present.

This commit is contained in:
2026-01-24 01:36:15 +01:00
parent b788d78aab
commit 23155520d2
2 changed files with 2 additions and 2 deletions

View File

@@ -1,11 +1,11 @@
<template>
<div class="serie-tile">
<a
v-if="serie.poster"
:href="`/serie/${serie.id}/${serie.slug}`"
class="poster-container"
>
<img
v-if="serie.poster"
:src="getPath(serie.poster, 'thumbnail')"
:style="{ 'background-image': `url(${getPath(serie.poster, 'lazy')})` }"
class="poster"