Skip to content

Commit cc8d13f

Browse files
ENGCOM-5389: [Backport] #23377 Fixed Mini cart loader not working first time issue #23536
- Merge Pull Request #23536 from krishprakash/magento2:2.2-develop-PR-port-23394 - Merged commits: 1. 6874f61
2 parents 5f446e3 + 6874f61 commit cc8d13f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/templates/cart/minicart.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
data-bind="scope: 'minicart_content'">
1313
<span class="text"><?= $block->escapeHtml(__('My Cart')) ?></span>
1414
<span class="counter qty empty"
15-
data-bind="css: { empty: !!getCartParam('summary_count') == false }, blockLoader: isLoading">
15+
data-bind="css: { empty: !!getCartParam('summary_count') == false && !isLoading() }, blockLoader: isLoading">
1616
<span class="counter-number"><!-- ko text: getCartParam('summary_count') --><!-- /ko --></span>
1717
<span class="counter-label">
1818
<!-- ko if: getCartParam('summary_count') -->

0 commit comments

Comments
 (0)