adata-ui 2.1.11 → 2.1.12

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.
@@ -42,6 +42,10 @@ function goRegister() {
42
42
  registrationModal.value = true
43
43
  }
44
44
  }
45
+ const close = () => {
46
+ isOpen.value = false
47
+ emit('close')
48
+ }
45
49
  </script>
46
50
 
47
51
  <template>
@@ -63,7 +67,7 @@ function goRegister() {
63
67
  <a-button
64
68
  view="outline"
65
69
  block
66
- @click="emit('close')"
70
+ @click="close"
67
71
  >
68
72
  {{ t('modals.buttons.close') }}
69
73
  </a-button>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adata-ui",
3
3
  "type": "module",
4
- "version": "2.1.11",
4
+ "version": "2.1.12",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",