We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3298523 commit 0c4df57Copy full SHA for 0c4df57
src/components/TheDrawer.vue
@@ -44,7 +44,7 @@ const items = computed(() =>
44
},
45
].map((item) => ({
46
...item,
47
- selected: route.path === item.data.path,
+ selected: item.data.path ? route.path.startsWith(item.data.path) : false,
48
}))
49
);
50
0 commit comments