mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
docs(content): add icons
This commit is contained in:
@@ -49,7 +49,10 @@ export const useContentNavigation = (navigation: Ref<ContentNavigationItem[] | u
|
||||
}))
|
||||
|
||||
return {
|
||||
mappedNavigation,
|
||||
mappedNavigation: computed(() => mappedNavigation.value?.map(item => ({
|
||||
...item,
|
||||
children: item.children?.map((child: any) => ({ ...child, icon: undefined }))
|
||||
}))),
|
||||
filteredNavigation
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user