We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 295b02f commit 9a92068Copy full SHA for 9a92068
adminforth/spa/src/renderers/CountryFlag.vue
@@ -1,5 +1,5 @@
1
<template>
2
- <Tooltip>
+ <component :is="shouldShowTooltip ? Tooltip : 'span'">
3
<span class="flex items-center">
4
<CountryFlag class="w-[1.6rem] h-[1.2rem]" :countryCode="countryIsoLow" />
5
<span v-if="meta.showCountryName" class="ms-2">{{ countryName }}</span>
@@ -8,7 +8,7 @@
8
<template v-if="shouldShowTooltip" #tooltip>
9
{{ countryName }}
10
</template>
11
- </Tooltip>
+ </component>
12
13
14
<script setup>
0 commit comments