@maas/vue-equipment 0.4.0 → 0.4.1

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,5 +1,5 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment",
3
3
  "configKey": "vueEquipment",
4
- "version": "0.3.1"
4
+ "version": "0.4.0"
5
5
  }
@@ -20,6 +20,7 @@ const props = withDefaults(defineProps<Props>(), {
20
20
  // computed is used to avoid reactivity issues
21
21
  const mappedEl = computed(() => {
22
22
  if (props.el) return props.el
23
+ if (typeof window === 'undefined') return undefined
23
24
  return window
24
25
  })
25
26
 
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.4.0",
4
+ "version": "0.4.1",
5
5
  "author": "Robin Scholz <https://github.com/robinscholz>, Christoph Jeworutzki <https://github.com/ChristophJeworutzki>",
6
6
  "devDependencies": {
7
7
  "@antfu/ni": "^0.21.5",