factory fix
This commit is contained in:
1 parent
3f49183997
commit
e68a55c73d
1 file changed
+1
@@ -119,6 +119,7 @@ export async function createPage(res: StrapiPage | StrapiPage[]): Promise<IPage
|
|||||||
name: tag.name,
|
name: tag.name,
|
||||||
slug: tag.slug,
|
slug: tag.slug,
|
||||||
href: `/tags/${tag.slug}`,
|
href: `/tags/${tag.slug}`,
|
||||||
|
count: 0,
|
||||||
}))
|
}))
|
||||||
|
|
||||||
const tokens = await Promise.all(item.content.map(createPageToken))
|
const tokens = await Promise.all(item.content.map(createPageToken))
|
||||||
|
|||||||
Reference in new issue
Block a user