Use "props" not "[on,attrs]"

This commit is contained in:
N-Pex 2025-05-12 18:23:31 +02:00
parent a1d729d812
commit 972c80c65d
2 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -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>