mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
docs: do not display deprecated components
This commit is contained in:
parent
5724df79f3
commit
1bbfffbc20
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@
|
||||||
expanded="{$isActive($url('')) || $isActive($url('/components'))}"
|
expanded="{$isActive($url('')) || $isActive($url('/components'))}"
|
||||||
text="Components"
|
text="Components"
|
||||||
>
|
>
|
||||||
{#each components.children as child, i (child.path)}
|
{#each components.children.filter((child) => !deprecated.includes(child.title)) as child, i (child.path)}
|
||||||
<SideNavMenuItem
|
<SideNavMenuItem
|
||||||
text="{child.title}"
|
text="{child.title}"
|
||||||
href="{$url(child.path)}"
|
href="{$url(child.path)}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue