This commit is contained in:
Justin Shreve 2019-10-17 10:39:59 -04:00 committed by GitHub
parent 0ee9188e58
commit a4ac2d8521
1 changed files with 3 additions and 1 deletions

View File

@ -86,7 +86,9 @@ export function getTasks( { profileItems, options, query } ) {
icon: 'local_shipping',
container: <Shipping />,
completed: shippingZonesCount > 0,
visible: profileItems.product_types.includes( 'physical' ) || hasPhysicalProducts,
visible:
( profileItems.product_types && profileItems.product_types.includes( 'physical' ) ) ||
hasPhysicalProducts,
},
{
key: 'tax',