Use a tag instead

pull/5206/head
Cagatay Civici 2024-02-04 14:10:58 +03:00
parent fa0a2f267a
commit ed82bfd238
1 changed files with 2 additions and 2 deletions

View File

@ -13,14 +13,14 @@
<i :class="menuitem.icon"></i>
</span>
<span>{{ menuitem.name }}</span>
<Badge v-if="menuitem.badge" :value="menuitem.badge" class="ml-auto"></Badge>
<Tag v-if="menuitem.badge" :value="menuitem.badge" class="ml-auto"></Tag>
</a>
<PrimeVueNuxtLink v-if="menuitem.to" :to="menuitem.to" :class="{ 'router-link-active': menuitem.to === $route.fullPath }">
<span v-if="menuitem.icon && root" class="menu-icon">
<i :class="menuitem.icon"></i>
</span>
<span>{{ menuitem.name }}</span>
<Badge v-if="menuitem.badge" :value="menuitem.badge" class="ml-auto"></Badge>
<Tag v-if="menuitem.badge" :value="menuitem.badge" class="ml-auto"></Tag>
</PrimeVueNuxtLink>
<span v-if="!root && menuitem.children" class="menu-child-category">{{ menuitem.name }}</span>