@3sc/common-component 0.0.165 → 0.0.166

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.
package/dist/index.es.js CHANGED
@@ -41318,10 +41318,12 @@ const y2 = ({
41318
41318
  var w, T, S, E, R, O, k;
41319
41319
  const a = ut(ca), { visibleGridColumns: l, triggerApi: c } = ut(Oc), [u, d] = Ve(""), [p, f] = Ve([]), [m, g] = Ve([]);
41320
41320
  Ft(() => {
41321
- const D = s.length ? l.filter((M) => s.includes(M.id)) : l;
41322
- f(D);
41323
- const j = I(D, u);
41324
- g(j);
41321
+ if (s.length) {
41322
+ const D = s.length ? l.filter((M) => s.includes(M.id)) : l;
41323
+ f(D);
41324
+ const j = I(D, u);
41325
+ g(j);
41326
+ }
41325
41327
  }, [s, l]);
41326
41328
  const h = async (D) => {
41327
41329
  try {