DocSectionNav updated

pull/3711/head
Bahadır Sofuoğlu 2023-03-08 14:36:48 +03:00
parent 7ca665aa93
commit 8da854c2f4
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<li v-for="doc of docs" :key="doc.label" :class="['navbar-item', { 'active-navbar-item': activeId === doc.id }]"> <li v-for="doc of docs" :key="doc.label" :class="['navbar-item', { 'active-navbar-item': activeId === doc.id }]">
<div class="navbar-item-content"> <div class="navbar-item-content">
<NuxtLink :to="`${checkRouteName}/#${doc.id}`"> <NuxtLink :to="`${checkRouteName}/#${doc.id}`">
<button class="p-link">{{ doc.label }}</button> <button class="p-link" @click="onButtonClick(doc)">{{ doc.label }}</button>
</NuxtLink> </NuxtLink>
</div> </div>