bfg-common 1.4.135 → 1.4.137

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.
@@ -66,10 +66,11 @@ const emits = defineEmits<{
66
66
 
67
67
  const open = ref<boolean>(props.openByDefault || false)
68
68
  const onToggle = (): void => {
69
- setTimeout(() => {
69
+ if (!props.hasChildren) return
70
+ // setTimeout(() => {
70
71
  open.value = !open.value
71
72
  emits('toggle', open.value)
72
- }, 0)
73
+ // }, 0)
73
74
  }
74
75
 
75
76
  const onRemove = (): void => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.135",
4
+ "version": "1.4.137",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",