Hiding serie poster container if no poster is present.
This commit is contained in:
parent
b788d78aab
commit
23155520d2
|
|
@ -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
|
|
@ -1 +1 @@
|
||||||
Subproject commit 7b6e7280ac8af1070dfe00bd47a63fbfa5c5b5ba
|
Subproject commit 1c4d379e1ecab3888a97bc353ee236fbc7834fbb
|
||||||
Loading…
Reference in New Issue