fix crazy peyote

This commit is contained in:
Alberto Xamin 2021-01-22 15:11:54 +01:00
parent 3074780c81
commit 4dc8d4b1e8
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2

View File

@ -3,7 +3,7 @@
<h1>{{text}}</h1>
<div>
<transition-group name="list" tag="div">
<Card v-for="(c, i) in cards" v-bind:key="c.name+c.number" :alt="i" :card="c" @click.native="select(c)" @pointerenter.native="showDesc(c)" @pointerleave.native="desc=''"/>
<Card v-for="(c, i) in cards" v-bind:key="c.name ? (c.name+c.number) : i" :card="c" @click.native="select(c)" @pointerenter.native="showDesc(c)" @pointerleave.native="desc=''"/>
</transition-group>
</div>
<p v-if="hintText">{{hintText}}</p>