You've already forked obsidian-visualiser
Tag path fix
This commit is contained in:
@@ -26,7 +26,7 @@ if(hasChildren.value)
|
||||
});
|
||||
}
|
||||
|
||||
const collapsed = ref(!useRoute().path.startsWith(props.link._path));
|
||||
const collapsed = ref(!useRoute().path.startsWith('/explorer' + props.link._path));
|
||||
|
||||
function hideLeftPanel(_: Event)
|
||||
{
|
||||
@@ -51,7 +51,7 @@ function hideLeftPanel(_: Event)
|
||||
<NavigationLink v-if="hasChildren" v-for="l of link.children" :link="l"/>
|
||||
</div>
|
||||
</template>
|
||||
<NuxtLink @click="hideLeftPanel" v-else class="tree-item-self" :to="'/explorer' + link._path" :active-class="'mod-active'">
|
||||
<NuxtLink @click="hideLeftPanel" v-else class="tree-item-self" :to="'/explorer' + link._path" :active-class="'mod-active'" >
|
||||
<div class="tree-item-inner">{{ link.title }}</div>
|
||||
</NuxtLink>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user