diff --git a/enterprise/frontend/src/metabase-enterprise/license/components/LicenseAndBillingSettings/LicenseAndBillingSettings.tsx b/enterprise/frontend/src/metabase-enterprise/license/components/LicenseAndBillingSettings/LicenseAndBillingSettings.tsx index 06e98630a7b22367211270a1c2287529d1b36328..707bc3ceaac034542e77be1d8caca898fcff7e5f 100644 --- a/enterprise/frontend/src/metabase-enterprise/license/components/LicenseAndBillingSettings/LicenseAndBillingSettings.tsx +++ b/enterprise/frontend/src/metabase-enterprise/license/components/LicenseAndBillingSettings/LicenseAndBillingSettings.tsx @@ -89,14 +89,14 @@ const LicenseAndBillingSettings = ({ const isInvalid = !!error || (tokenStatus != null && !tokenStatus.isValid); const description = getDescription(tokenStatus, !!token); - const isStoreManagedBilling = tokenStatus?.features.includes( + const isStoreManagedBilling = tokenStatus?.features?.includes( STORE_MANAGED_FEATURE_KEY, ); - const shouldShowLicenseInput = !tokenStatus?.features.includes( + const shouldShowLicenseInput = !tokenStatus?.features?.includes( HOSTING_FEATURE_KEY, ); - const shouldUpsell = !tokenStatus?.features.includes(NO_UPSELL_FEATURE_HEY); + const shouldUpsell = !tokenStatus?.features?.includes(NO_UPSELL_FEATURE_HEY); return ( <SettingsLicenseContainer data-testid="license-and-billing-content">