Skip to content

Commit 810d118

Browse files
committed
Fix
1 parent 2b818bf commit 810d118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/components/NanoSidebarDir/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
const visible = ref(!ctl.hideDir);
105105
106106
watch(() => frontmatter.value?.layout, (value) => {
107-
visible.value = value && ctl.hideDir;
107+
visible.value = value && !ctl.hideDir;
108108
}, { immediate: true });
109109
110110
onMounted(() => {

0 commit comments

Comments
 (0)