Skip to content

Commit d6c184d

Browse files
andrewbessAndrii Beziazychnyi
authored and
Andrii Beziazychnyi
committed
#25529: Wrong program code in
"Magento/Checkout/view/frontend/web/js/view/summary/shipping.js" - fixed condition for shippingMethod
1 parent 0ffbe25 commit d6c184d

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/web/js/view/summary

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/view/summary/shipping.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ define([
3131
}
3232
shippingMethod = quote.shippingMethod();
3333

34-
if (!_.isArray(shippingMethod)) {
34+
if (!_.isArray(shippingMethod) && !_.isObject(shippingMethod)) {
3535
return '';
3636
}
3737

0 commit comments

Comments
 (0)