diff --git a/components/paths/CategoryCard.tsx b/components/paths/CategoryCard.tsx index 7e9fa656..8e53063c 100644 --- a/components/paths/CategoryCard.tsx +++ b/components/paths/CategoryCard.tsx @@ -288,6 +288,7 @@ const PathsBasicNodeContent = (props: PathsBasicNodeContentProps) => { }${format.number(emissions.total.latest.change * 100, { style: 'unit', unit: 'percent', + maximumSignificantDigits: 2, })}` : undefined } @@ -314,6 +315,7 @@ const PathsBasicNodeContent = (props: PathsBasicNodeContentProps) => { }${format.number(emissions.total.reference.change * 100, { style: 'unit', unit: 'percent', + maximumSignificantDigits: 2, })}` : undefined } diff --git a/components/paths/contentblocks/CategoryPageHeaderBlock.tsx b/components/paths/contentblocks/CategoryPageHeaderBlock.tsx index 48910c85..8f3a5fa2 100644 --- a/components/paths/contentblocks/CategoryPageHeaderBlock.tsx +++ b/components/paths/contentblocks/CategoryPageHeaderBlock.tsx @@ -199,7 +199,7 @@ const PathsActionNodeContent = (props: PathsActionNodeContentProps) => {
diff --git a/queries/get-content-page.ts b/queries/get-content-page.ts index 60971671..04641543 100644 --- a/queries/get-content-page.ts +++ b/queries/get-content-page.ts @@ -159,6 +159,7 @@ const GET_CONTENT_PAGE = gql` urlPath } level { + id name namePlural }