fix bug when emmission is undefined
This commit is contained in:
parent
a07d0dffb9
commit
c14b1bd7bf
@ -15,7 +15,7 @@
|
|||||||
<ul v-if="arrayresultchaines">
|
<ul v-if="arrayresultchaines">
|
||||||
<li v-for="result in arrayresultchaines" v-bind:key="result.chaine" >
|
<li v-for="result in arrayresultchaines" v-bind:key="result.chaine" >
|
||||||
<h3>{{result.chaine}} : {{result.name}}</h3>
|
<h3>{{result.chaine}} : {{result.name}}</h3>
|
||||||
<ul v-if="result.emission!='can\'t find channel'">
|
<ul v-if="(result.emission!='can\'t find channel' && result.emission)">
|
||||||
<li><h4><a target="_blank" :href="result.emission.href">{{result.emission.title}}</a></h4></li>
|
<li><h4><a target="_blank" :href="result.emission.href">{{result.emission.title}}</a></h4></li>
|
||||||
<li><img :src="result.emission.img"></li>
|
<li><img :src="result.emission.img"></li>
|
||||||
<li><p>{{result.emission.synopsis}}</p></li>
|
<li><p>{{result.emission.synopsis}}</p></li>
|
||||||
|
Loading…
Reference in New Issue
Block a user