Use "props" not "[on,attrs]"
This commit is contained in:
parent
a1d729d812
commit
972c80c65d
2 changed files with 4 additions and 4 deletions
|
|
@ -2,8 +2,8 @@
|
|||
<div>
|
||||
<div class="seen-by-container">
|
||||
<v-tooltip top open-delay="500" v-if="seenBy.length > 0">
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<div v-bind="attrs" v-on="on" class="clickable">
|
||||
<template v-slot:activator="{ props }">
|
||||
<div v-bind="props" class="clickable">
|
||||
<div class="more" v-if="seenBy.length > 0">{{ moreItems }}</div>
|
||||
<transition-group name="list" tag="div" v-if="seenBy.length > 0">
|
||||
<v-avatar v-for="(member, index) in seenBy" :key="member.roomMember.userId" class="seen-by-user" size="16" color="grey"
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
v-show="name == '❤️'"
|
||||
>
|
||||
<v-tooltip top v-if="value.includes($matrix.currentUserId)">
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<v-icon class="ma-1 ml-0 clickable" v-bind="attrs" v-on="on" @click="onClickEmoji(name)" color="#ff3300">$vuetify.icons.ic_like_filled</v-icon>
|
||||
<template v-slot:activator="{ props }">
|
||||
<v-icon class="ma-1 ml-0 clickable" v-bind="props" @click="onClickEmoji(name)" color="#ff3300">$vuetify.icons.ic_like_filled</v-icon>
|
||||
</template>
|
||||
<span>{{ $t("global.click_to_remove") }}</span>
|
||||
</v-tooltip>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue