Skip to content

Commit becb4f6

Browse files
benjamincanacrdjanuar
authored andcommitted
docs(app): display components in search
1 parent 325341f commit becb4f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/app/composables/useContentNavigation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const useContentNavigation = (navigation: Ref<ContentNavigationItem[] | u
4040
if (child.framework && child.framework !== framework.value) {
4141
return false
4242
}
43-
if (child.module && child.module !== module.value) {
43+
if (child.module && child.module !== module.value && !child.path.startsWith('/components')) {
4444
return false
4545
}
4646
return true

0 commit comments

Comments
 (0)