Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

fix(toc): replace NuxtLink with anchor tag for node links

Smaug6739749e78fa9d15
diff --git a/frontend/app/components/Node/TOC/Level.vue b/frontend/app/components/Node/TOC/Level.vue
index f7908173..fd70ff75 100644
--- a/frontend/app/components/Node/TOC/Level.vue
+++ b/frontend/app/components/Node/TOC/Level.vue
@@ -1,6 +1,6 @@
<template>
<li>
- <NuxtLink :to="node.link">{{ node.title }}</NuxtLink>
+ <a :href="node.link">{{ node.title }}</a>
<ul v-if="node.childrens?.length">
<NodeTOCLevel v-for="child in node.childrens" :key="child.link" :node="child" />
</ul>