diff --git a/frontend/src/scenes/billing/BillingProduct.tsx b/frontend/src/scenes/billing/BillingProduct.tsx index 39e5fc0c3d63e..ae078bc851ae6 100644 --- a/frontend/src/scenes/billing/BillingProduct.tsx +++ b/frontend/src/scenes/billing/BillingProduct.tsx @@ -586,9 +586,11 @@ export const BillingProduct = ({ product }: { product: BillingProductV2Type }):

Addons

- {product.addons.map((addon, i) => { - return - })} + {product.addons + .filter((addon) => !addon.inclusion_only) + .map((addon, i) => { + return + })}
)} diff --git a/frontend/src/types.ts b/frontend/src/types.ts index a583fe34c26d2..8954e855501cc 100644 --- a/frontend/src/types.ts +++ b/frontend/src/types.ts @@ -1427,6 +1427,8 @@ export interface BillingProductV2AddonType { subscribed: boolean // sometimes addons are included with the base product, but they aren't subscribed individually included_with_main_product?: boolean + inclusion_only: boolean | null + included_if: 'no_active_parent_subscription' | 'has_parent_subscription' | null contact_support: boolean | null unit: string | null unit_amount_usd: string | null