no click bubbling
This commit is contained in:
parent
a35173acbb
commit
747d6b8471
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
<header>
|
<header>
|
||||||
<h2>{{ card.name }}</h2>
|
<h2>{{ card.name }}</h2>
|
||||||
<img :src="icon" />
|
<img :src="icon" />
|
||||||
<button class="edit-close" @click="$emit('close')" v-if="isSelection" />
|
<button class="edit-close" @click.self.stop="$emit('close')" v-if="isSelection" />
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<component v-for="(entry, i) in card.contents"
|
<component v-for="(entry, i) in card.contents"
|
||||||
|
|
Loading…
Add table
Reference in a new issue