Skip to content

Commit

Permalink
feat(web): Allow article to appear multiple times on Category page (#…
Browse files Browse the repository at this point in the history
…16371)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
RunarVestmann and kodiakhq[bot] authored Oct 11, 2024
1 parent c369d03 commit 38f5c80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/web/screens/Category/Category/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ export const extractCategoryGroups = (

if (isSameCategory(mainCategory, selectedCategory)) {
addPageToGroupMap(groupMap, page, page.group, page.subgroup)
} else if (isSameCategory(secondaryCategory, selectedCategory)) {
}
if (isSameCategory(secondaryCategory, selectedCategory)) {
addPageToGroupMap(
groupMap,
page,
Expand Down

0 comments on commit 38f5c80

Please sign in to comment.