nuxt-hs-ui 2.1.14 → 2.1.16

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/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.15.0"
6
6
  },
7
- "version": "2.1.14",
7
+ "version": "2.1.16",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -152,6 +152,7 @@ const displayData = ref<DisplaySelectItem | null>(null);
152
152
  watch(displayData, (v) => {
153
153
  const before = props.data;
154
154
  if (v === null) {
155
+ if (before === null) return;
155
156
  emit("update:data", null);
156
157
  emit("value-change", null, before);
157
158
  return;
@@ -160,6 +161,7 @@ watch(displayData, (v) => {
160
161
  displayData.value = null;
161
162
  return;
162
163
  }
164
+ if (v.id === before) return;
163
165
  emit("update:data", v.id);
164
166
  emit("value-change", v.id, before);
165
167
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-hs-ui",
3
- "version": "2.1.14",
3
+ "version": "2.1.16",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "https://github.com/hare-systems-ryo/nuxt-hs-ui",
6
6
  "license": "MIT",