diff --git a/src/components/NavMenu.vue b/src/components/NavMenu.vue index 758a7428..8b4fc608 100644 --- a/src/components/NavMenu.vue +++ b/src/components/NavMenu.vue @@ -50,7 +50,11 @@ v-if="entry.icon" :class="entry.icon" class="inline-flex size-4 items-center justify-center text-base" /> - {{ t(entry.label) }} + {{ t(entry.label) }} @@ -94,7 +98,7 @@ class="inline-flex size-5 items-center justify-center text-base" /> {{ t(entry.label) }} @@ -672,6 +676,9 @@ return false; } const targets = []; + if (entry.index) { + targets.push(entry.index); + } if (entry.routeName) { targets.push(entry.routeName); }