@ecomplus/storefront-components 1.0.0-beta.186 → 1.0.0-beta.188

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecomplus/storefront-components",
3
- "version": "1.0.0-beta.186",
3
+ "version": "1.0.0-beta.188",
4
4
  "description": "Vue components for E-Com Plus Storefront",
5
5
  "main": "dist/storefront-components.min.js",
6
6
  "scripts": {
@@ -124,6 +124,7 @@
124
124
  class="search-engine__option custom-control custom-checkbox"
125
125
  v-for="(opt, index) in options"
126
126
  :key="`${filter}-${index}`"
127
+ :data-opt="opt.key"
127
128
  >
128
129
  <input
129
130
  type="checkbox"
@@ -339,7 +339,7 @@ export default {
339
339
  },
340
340
 
341
341
  localAmountTotal (total, oldTotal) {
342
- if (oldTotal !== null && Math.abs(total - oldTotal) > 0.01) {
342
+ if (oldTotal !== null && Math.abs(total - oldTotal) > 0.02) {
343
343
  this.scheduleUpdateDiscount()
344
344
  }
345
345
  },