Skip to content

Commit

Permalink
Use uid instead of id to check if we're on a 'sectionLevelPage'
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpmccormick committed Nov 13, 2024
1 parent 9a39ad4 commit e1176cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/webapp/pages/pages/[pageId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export const Page: FunctionComponent<Props> = ({
<VideoEmbed {...transformFeaturedVideo.value} />
) : undefined;

const sectionLevelPage = sectionLevelPages.includes(page.id);
const sectionLevelPage = sectionLevelPages.includes(page.uid);

function getBreadcrumbText(siteSection: string): string {
return isLanding
Expand Down

0 comments on commit e1176cd

Please sign in to comment.