Skip to content

Commit 4f13a2d

Browse files
committed
Fixed breaking cart page. Solution is even simpler, remove the whole if check and removed another 6 lines of unnecessary code.
1 parent 6f66f40 commit 4f13a2d

File tree

1 file changed

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

1 file changed

+1
-6
lines changed

app/code/Magento/Checkout/view/frontend/web/template/summary/cart-items.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44
* See COPYING.txt for license details.
55
*/
66
-->
7-
<!-- ko ifnot: isItemsBlockExpanded() -->
8-
<div class="block items-in-cart" data-bind="mageInit: {'collapsible':{'openedState': 'active'}}">
9-
<!-- /ko -->
10-
<!-- ko if: isItemsBlockExpanded() -->
11-
<div class="block items-in-cart" data-bind="mageInit: {'collapsible':{'openedState': 'active', 'active': true}}">
12-
<!-- /ko -->
7+
<div class="block items-in-cart" data-bind="mageInit: {'collapsible':{'openedState': 'active', 'active': isItemsBlockExpanded()}}">
138
<div class="title" data-role="title">
149
<strong role="heading"><span data-bind="text: getItemsQty()"></span>
1510
<!-- ko if: getItemsQty() == 1 -->

0 commit comments

Comments
 (0)