fix: tooltip bug in sidebar with text + icons

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej 2021-12-31 15:48:20 +01:00
parent eeac987784
commit a6c927508f
No known key found for this signature in database
GPG Key ID: 5D3A5823133D2246

View File

@ -56,7 +56,7 @@
<v-divider class="my-1"></v-divider>
</template>
<div v-for="(category, index) in naviPoints" :key="index">
<v-tooltip right :open-delay="500">
<v-tooltip right :open-delay="500" :disabled="navigationStyle !== 'iconsOnly'">
<template v-slot:activator="{ on, attrs }">
<v-list-item
router :to="category.path"
@ -72,7 +72,7 @@
</v-list-item-content>
</v-list-item>
</template>
<span v-if="navigationStyle === 'iconsOnly'">{{ $t(`Router.${category.title}`) }}</span>
<span>{{ $t(`Router.${category.title}`) }}</span>
</v-tooltip>
</div>
</v-list-item-group>