@ecomplus/storefront-components 1.0.0-beta.181 → 1.0.0-beta.182
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.0.0-beta.182](https://github.com/ecomplus/storefront/compare/@ecomplus/storefront-components@1.0.0-beta.181...@ecomplus/storefront-components@1.0.0-beta.182) (2024-09-06)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **components/discount-applier:** ensure alert message updates/reset on coupon change ([a1bfa1b](https://github.com/ecomplus/storefront/commit/a1bfa1bf8831c1df652370b7b38e6b52703197d0))
|
|
11
|
+
|
|
6
12
|
# [1.0.0-beta.181](https://github.com/ecomplus/storefront/compare/@ecomplus/storefront-components@1.0.0-beta.180...@ecomplus/storefront-components@1.0.0-beta.181) (2024-08-22)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -302,7 +302,7 @@ export default {
|
|
|
302
302
|
|
|
303
303
|
watch: {
|
|
304
304
|
couponCode (couponCode) {
|
|
305
|
-
if (couponCode !== this.
|
|
305
|
+
if (couponCode !== this.localCouponCode) {
|
|
306
306
|
this.localCouponCode = couponCode
|
|
307
307
|
if (couponCode && !this.isFormVisible) {
|
|
308
308
|
this.isFormVisible = true
|
|
@@ -310,6 +310,12 @@ export default {
|
|
|
310
310
|
}
|
|
311
311
|
},
|
|
312
312
|
|
|
313
|
+
localCouponCode () {
|
|
314
|
+
if (this.alertVariant === 'info') {
|
|
315
|
+
this.alertText = null
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
|
|
313
319
|
isFormAlwaysVisible (isFormVisible) {
|
|
314
320
|
if (isFormVisible) {
|
|
315
321
|
this.isFormVisible = true
|