Fix JS errors when the OBW business step is accessed directly via URL (#35045)

* Set default value for product types

* Add changelog
This commit is contained in:
Moon 2022-10-14 11:43:36 -07:00 committed by GitHub
parent c55c91d7e0
commit 0f58f2efbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -819,7 +819,7 @@ export const BusinessFeaturesList = compose(
? getInstallableExtensions( {
freeExtensionBundleByCategory: freeExtensions,
country,
productTypes: profileItems.product_types,
productTypes: profileItems.product_types || [],
} )
: [];
const hasInstallableExtensions = installableExtensions.some(

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Fix JS error when the business step is accessed directly via URL without completing the previous steps