Fix Mini-Cart price disappearing on hover (#43550)

* Fix Mini-Cart price disappearing on hover

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Albert Juhé Lluveras 2024-01-12 13:39:34 +01:00 committed by GitHub
parent 5d87130b43
commit aa661f2234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -49,7 +49,7 @@ const renderMiniCartFrontend = () => {
style: el.dataset.style ? JSON.parse( el.dataset.style ) : {},
miniCartIcon: el.dataset.miniCartIcon,
addToCartBehaviour: el.dataset.addToCartBehaviour || 'none',
hasHiddenPrice: el.dataset.hasHiddenPrice,
hasHiddenPrice: el.dataset.hasHiddenPrice !== 'false',
priceColor: el.dataset.priceColor
? JSON.parse( el.dataset.priceColor )
: {},

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Fix Mini-Cart total price disappearing when hovering or focusing the Mini-Cart button