Only show items if there are multiple packages in the cart (https://github.com/woocommerce/woocommerce-blocks/pull/6899)
This commit is contained in:
parent
c338a799b3
commit
de9b044eba
|
@ -65,9 +65,7 @@ const Packages = ( {
|
|||
packageData={ packageData }
|
||||
collapsible={ !! collapsible }
|
||||
collapse={ !! collapse }
|
||||
showItems={
|
||||
showItems || packageData?.shipping_rates?.length > 1
|
||||
}
|
||||
showItems={ showItems || packages.length > 1 }
|
||||
noResultsMessage={ noResultsMessage }
|
||||
renderOption={ renderOption }
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue