diff --git a/docs/components/Header.vue b/docs/components/Header.vue index 6cba6db5ca..c434d37c8a 100644 --- a/docs/components/Header.vue +++ b/docs/components/Header.vue @@ -35,7 +35,7 @@ - + @@ -48,9 +48,16 @@ defineProps<{ links: Link[] }>() +const route = useRoute() const { metaSymbol } = useShortcuts() const nav = inject>('navigation') -const navigation = computed(() => nav.value.filter(item => !item._path.startsWith('/pro'))) +const navigation = computed(() => { + if (route.path.startsWith('/pro')) { + return nav.value.find(item => item._path === '/pro')?.children + } + + return nav.value.filter(item => !item._path.startsWith('/pro')) +})