@maas/vue-equipment 0.36.3 → 0.36.4

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment/nuxt",
3
3
  "configKey": "vueEquipment",
4
- "version": "0.36.2",
4
+ "version": "0.36.3",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "unknown"
@@ -90,9 +90,9 @@ useMutationObserver(
90
90
  content.value = addedNode
91
91
  }
92
92
 
93
- // If immediate is true, reset the size when a comment is added
93
+ // If immediate is true, reset the size when a comment is added and no children are present
94
94
  // Vue sets a placeholder comment for a v-if
95
- if (props.immediate && !!addedComment) {
95
+ if (props.immediate && !!addedComment && !child.value) {
96
96
  content.value = undefined
97
97
  size.value = {
98
98
  width: 0,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment",
3
3
  "description": "A magic collection of Vue composables, plugins, components and directives",
4
- "version": "0.36.3",
4
+ "version": "0.36.4",
5
5
  "author": "Robin Scholz <https://github.com/robinscholz>, Christoph Jeworutzki <https://github.com/ChristophJeworutzki>",
6
6
  "type": "module",
7
7
  "devDependencies": {