Skip to content

Commit b9b7ce3

Browse files
committed
Merge branch 'next' of github.com:devforth/adminforth into next
2 parents 3d722dd + 4ae32b8 commit b9b7ce3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adminforth/spa/src/renderers/CountryFlag.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<Tooltip>
2+
<component :is="shouldShowTooltip ? Tooltip : 'span'">
33
<span class="flex items-center">
44
<CountryFlag class="w-[1.6rem] h-[1.2rem]" :countryCode="countryIsoLow" />
55
<span v-if="meta.showCountryName" class="ms-2">{{ countryName }}</span>
@@ -8,7 +8,7 @@
88
<template v-if="shouldShowTooltip" #tooltip>
99
{{ countryName }}
1010
</template>
11-
</Tooltip>
11+
</component>
1212
</template>
1313

1414
<script setup>

0 commit comments

Comments
 (0)