fix: temp fix for RoutableTabs link active class

This commit is contained in:
axolotle 2024-03-19 01:15:12 +01:00
parent 9ec1fbd714
commit cb7b13f112

View file

@ -6,8 +6,10 @@
v-for="route in routes"
:key="route.text"
:to="route.to"
exact-active-class="active"
:active="$route.params.tabId === route.to.params.tabId"
>
<!-- FIXME added :active="" because `exact-active-class` not working https://github.com/bootstrap-vue-next/bootstrap-vue-next/issues/1754 -->
<!-- exact-active-class="active" -->
<YIcon v-if="route.icon" :iname="route.icon" />
{{ route.text }}
</BNavItem>