@thinkpixellab-public/px-vue 3.0.8 → 3.0.9

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.
@@ -27,7 +27,7 @@ export default {
27
27
  disabled: {
28
28
  immediate: true,
29
29
  handler(disabled) {
30
- if (!process.server) {
30
+ if (isBrowser) {
31
31
  if (disabled) {
32
32
  this.unmount();
33
33
  } else {
@@ -126,12 +126,12 @@ export default {
126
126
  },
127
127
  },
128
128
  render(h) {
129
- if (!isBrowser) return;
130
129
  if (this.disabled) {
131
130
  const nodes = this.$scopedSlots && this.$scopedSlots.default();
132
131
  if (!nodes) return h();
133
132
  return nodes.length < 2 && !nodes[0].text ? nodes : h(this.tag, nodes);
134
133
  }
134
+ if (!isBrowser) return;
135
135
  return h();
136
136
  },
137
137
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkpixellab-public/px-vue",
3
- "version": "3.0.8",
3
+ "version": "3.0.9",
4
4
  "description": "General purpose Vue components and helpers that can be used across projects.",
5
5
  "author": "Pixel Lab",
6
6
  "license": "MIT",