Hiding serie poster container if no poster is present.
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="serie-tile">
|
<div class="serie-tile">
|
||||||
<a
|
<a
|
||||||
|
v-if="serie.poster"
|
||||||
:href="`/serie/${serie.id}/${serie.slug}`"
|
:href="`/serie/${serie.id}/${serie.slug}`"
|
||||||
class="poster-container"
|
class="poster-container"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
v-if="serie.poster"
|
|
||||||
:src="getPath(serie.poster, 'thumbnail')"
|
:src="getPath(serie.poster, 'thumbnail')"
|
||||||
:style="{ 'background-image': `url(${getPath(serie.poster, 'lazy')})` }"
|
:style="{ 'background-image': `url(${getPath(serie.poster, 'lazy')})` }"
|
||||||
class="poster"
|
class="poster"
|
||||||
|
|||||||
2
static
2
static
Submodule static updated: 7b6e7280ac...1c4d379e1e
Reference in New Issue
Block a user