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

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