Hiding serie poster container if no poster is present.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user