@winchsa/ui 0.1.18 → 0.1.19

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.
@@ -306,7 +306,7 @@ defineExpose({
306
306
 
307
307
  <template #clear>
308
308
  <div
309
- v-if="(Array.isArray(value) && value?.length > 0 || value) && value && !disabled"
309
+ v-if="(Array.isArray(value) ? value.length > 0 : !!value) && !disabled && clearable"
310
310
  class="multiselect-clear cursor-pointer"
311
311
  @mousedown.prevent.stop="value = null"
312
312
  >
@@ -437,7 +437,7 @@ defineExpose({
437
437
 
438
438
  <template #clear>
439
439
  <div
440
- v-if="(Array.isArray(value) && value?.length > 0 || value) && value && !disabled && clearable"
440
+ v-if="(Array.isArray(value) ? value.length > 0 : !!value) && !disabled && clearable"
441
441
  class="multiselect-clear cursor-pointer"
442
442
  @mousedown.prevent.stop="value = null"
443
443
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winchsa/ui",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "publishConfig": {