react-base-data-table 0.5.1 → 0.5.2

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
@@ -1899,7 +1899,7 @@ function Vm({
1899
1899
  (be === void 0 ? O[B.id] !== R : O[B.fromArray][be] !== R) && await n(
1900
1900
  J,
1901
1901
  ie,
1902
- be ? { fromArrayIndex: be, headerId: B.id } : void 0
1902
+ be !== void 0 ? { fromArrayIndex: be, headerId: B.id } : void 0
1903
1903
  );
1904
1904
  }
1905
1905
  },
@@ -1913,7 +1913,7 @@ function Vm({
1913
1913
  return J.rowIndex === R.rowIndex && J.columnIndex === R.columnIndex && ((ie = J.fromArrayData) == null ? void 0 : ie.index) === ((ae = R.fromArrayData) == null ? void 0 : ae.index) && ((be = J.fromArrayData) == null ? void 0 : be.fromArray) === ((de = R.fromArrayData) == null ? void 0 : de.fromArray);
1914
1914
  }
1915
1915
  );
1916
- h(R), I || f([]);
1916
+ h(R), I || (f([]), g([]));
1917
1917
  },
1918
1918
  []
1919
1919
  ), D = ue(
@@ -2006,7 +2006,7 @@ function Vm({
2006
2006
  m,
2007
2007
  J
2008
2008
  );
2009
- I && xo(I, ie) || (h(ie), f(ae), g([]), Q(ie));
2009
+ I && xo(I, ie) || (h(ie), B.length !== ae.length && g([]), f(ae), Q(ie));
2010
2010
  },
2011
2011
  [b.length, e.length, e]
2012
2012
  ), Q = (R) => {