add category name in tooltip

This commit is contained in:
ogerly 2023-01-22 12:54:48 +01:00
parent bb30d883b9
commit a310c1fe83

View File

@ -30,7 +30,10 @@
v-for="category in post.categories"
:key="category.id"
v-tooltip="{
content: $t(`contribution.category.description.${category.slug}`),
content: `
${$t(`contribution.category.name.${category.slug}`)}:
${$t(`contribution.category.description.${category.slug}`)}
`,
placement: 'bottom-start',
}"
:icon="category.icon"