ps-toolkit-ui 0.0.54 → 0.0.55

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.
@@ -5752,9 +5752,7 @@
5752
5752
  if (ids.includes(r.value)) {
5753
5753
  r.toggle(this.inp.onlyChild);
5754
5754
  }
5755
- if (this.inp.onlyChild) {
5756
- this.checkChildren(r.children, ids);
5757
- }
5755
+ this.checkChildren(r.children, ids);
5758
5756
  }
5759
5757
  }
5760
5758
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -5771,7 +5769,7 @@
5771
5769
  for (var chs_1 = __values(chs), chs_1_1 = chs_1.next(); !chs_1_1.done; chs_1_1 = chs_1.next()) {
5772
5770
  var r = chs_1_1.value;
5773
5771
  if (ids.includes(r.value)) {
5774
- r.toggle();
5772
+ r.toggle(this.inp.onlyChild);
5775
5773
  }
5776
5774
  this.checkChildren(r.children, ids);
5777
5775
  }