diff --git a/apps/console/src/pages/organizations/cookie-banners/configuration/cookies/_components/CategorySection.tsx b/apps/console/src/pages/organizations/cookie-banners/configuration/cookies/_components/CategorySection.tsx index 11f5b2f09..68fd26bcd 100644 --- a/apps/console/src/pages/organizations/cookie-banners/configuration/cookies/_components/CategorySection.tsx +++ b/apps/console/src/pages/organizations/cookie-banners/configuration/cookies/_components/CategorySection.tsx @@ -490,6 +490,7 @@ export function CategorySection({ categoryKey, onDelete }: CategorySectionProps) name={category.name} slug={category.slug} description={category.description} + kind={category.kind} gcmConsentTypes={[...category.gcmConsentTypes]} posthogConsent={category.posthogConsent} isUpdating={isUpdating} diff --git a/apps/console/src/pages/organizations/cookie-banners/configuration/cookies/_components/EditCategoryForm.tsx b/apps/console/src/pages/organizations/cookie-banners/configuration/cookies/_components/EditCategoryForm.tsx index 618c8866b..a62084c36 100644 --- a/apps/console/src/pages/organizations/cookie-banners/configuration/cookies/_components/EditCategoryForm.tsx +++ b/apps/console/src/pages/organizations/cookie-banners/configuration/cookies/_components/EditCategoryForm.tsx @@ -30,6 +30,7 @@ interface EditCategoryFormProps { name: string; slug: string; description: string; + kind: string; gcmConsentTypes: string[]; posthogConsent: boolean; isUpdating: boolean; @@ -41,6 +42,7 @@ export function EditCategoryForm({ name, slug, description, + kind, gcmConsentTypes, posthogConsent, isUpdating, @@ -105,23 +107,25 @@ export function EditCategoryForm({ ))} -
- -

- {__("Control PostHog tracking consent based on this category.")} -

- -
+ {kind === "NORMAL" && ( +
+ +

+ {__("Control PostHog tracking consent based on this category.")} +

+ +
+ )}