Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RunarVestmann committed Dec 2, 2024
1 parent 099a267 commit e29cff6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/cms/src/lib/models/organizationParentSubpage.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const mapOrganizationParentSubpage = ({
fields.pages
?.filter(
(page) =>
// Child pages should belong to the same organization page
page.fields.organizationPage?.sys?.id ===
fields.organizationPage?.sys?.id &&
Boolean(page.fields.organizationPage?.fields?.slug) &&
Expand Down

0 comments on commit e29cff6

Please sign in to comment.