zartui 3.1.56 → 3.1.57

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.
@@ -277,7 +277,7 @@ var stdin_default = defineComponent({
277
277
  if (!props.autoChangeToChildren) {
278
278
  return item && (item == null ? void 0 : item.children);
279
279
  }
280
- return props.asyncGetter && (item == null ? void 0 : item.children) || !props.asyncGetter && ((_a = item == null ? void 0 : item.children) == null ? void 0 : _a.length);
280
+ return props.asyncGetter && (item == null ? void 0 : item.children) || !props.asyncGetter && !!((_a = item == null ? void 0 : item.children) == null ? void 0 : _a.length);
281
281
  };
282
282
  const getToSubDisabled = (item) => {
283
283
  var _a;
@@ -309,7 +309,7 @@ var stdin_default = (0, import_vue.defineComponent)({
309
309
  if (!props.autoChangeToChildren) {
310
310
  return item && (item == null ? void 0 : item.children);
311
311
  }
312
- return props.asyncGetter && (item == null ? void 0 : item.children) || !props.asyncGetter && ((_a = item == null ? void 0 : item.children) == null ? void 0 : _a.length);
312
+ return props.asyncGetter && (item == null ? void 0 : item.children) || !props.asyncGetter && !!((_a = item == null ? void 0 : item.children) == null ? void 0 : _a.length);
313
313
  };
314
314
  const getToSubDisabled = (item) => {
315
315
  var _a;