From e29cff67c9d3cd3b0a6db8ed3e12c42b4261a1b1 Mon Sep 17 00:00:00 2001 From: runarvestmann Date: Mon, 2 Dec 2024 14:53:35 +0000 Subject: [PATCH] Add comment --- libs/cms/src/lib/models/organizationParentSubpage.model.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/cms/src/lib/models/organizationParentSubpage.model.ts b/libs/cms/src/lib/models/organizationParentSubpage.model.ts index a320aff2075a..990aadedc9e7 100644 --- a/libs/cms/src/lib/models/organizationParentSubpage.model.ts +++ b/libs/cms/src/lib/models/organizationParentSubpage.model.ts @@ -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) &&