1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-12-17 07:30:47 +00:00

5e resurrection

This commit is contained in:
Maxime Moraine 2021-03-10 15:44:41 +01:00
parent 07b671b99d
commit 2948b2cd64
6 changed files with 24 additions and 18 deletions

View file

@ -121,9 +121,19 @@
</template>
<template v-slot:item.isInEncounter="{ item }">
<v-btn dense icon @click.stop="addCreatureInEncounter(item)">
<v-icon>mdi-sword-cross</v-icon>
</v-btn>
<v-tooltip top>
<template v-slot:activator="{ on, attrs }">
<v-btn
dense
icon
@click.stop="addCreatureInEncounter(item)"
v-bind="attrs"
v-on="on">
<v-icon>mdi-sword-cross</v-icon>
</v-btn>
</template>
<span>Ajouter au calculateur de rencontre</span>
</v-tooltip>
</template>
</v-data-table>