1
0
mirror of synced 2025-12-23 21:07:12 -05:00

add number of articles to all docs list (#19456)

This commit is contained in:
Rachael Sewell
2021-05-20 11:51:38 -07:00
committed by GitHub
parent cf965e0892
commit 8b0ba71391

View File

@@ -49,6 +49,10 @@ const ArticleList = ({ page }: { page: CurrentProductTree }) => {
<Link href={grandchildPage.href}>
<a>{grandchildPage.page.title}</a>
</Link>
{grandchildPage.page.documentType === 'mapTopic' ? (
<small className="color-text-secondary d-inline-block">
&nbsp;&bull; {page.childPages.length} articles
</small>) : null}
</li>
)
})}