webcake-ui-kit 1.1.7 → 1.1.8

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": "webcake-ui-kit",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "UI Kit for Vue 2 && 3 - Pure Options API",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -73,8 +73,8 @@ export default {
73
73
 
74
74
  methods: {
75
75
  select: function (value) {
76
- if (!this.allowDeselect && val == this.effectiveValue) return
77
76
  let val = value
77
+ if (!this.allowDeselect && val == this.effectiveValue) return
78
78
  if (this.allowDeselect && val == this.effectiveValue) {
79
79
  val = undefined
80
80
  }