biblio-react 3.0.14 → 3.0.15

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.js CHANGED
@@ -30589,16 +30589,16 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
30589
30589
  [ml, Ce]
30590
30590
  );
30591
30591
  S.useEffect(() => {
30592
- if (!(!pe.current || Ce))
30592
+ if (!(!pe.current || Ce || G))
30593
30593
  try {
30594
30594
  const U = pe.current.state?.rowGrouping?.model ?? [];
30595
30595
  Js.length && JSON.stringify(U) !== JSON.stringify(Js) && pe.current.setRowGroupingModel(Js);
30596
30596
  } catch {
30597
30597
  }
30598
- }, [Ce]), S.useEffect(() => {
30598
+ }, [Ce, G]), S.useEffect(() => {
30599
30599
  !pe.current || !Ce || pe.current.setRowGroupingModel([]);
30600
30600
  }, [pe, Ce]);
30601
- const qS = Ce ? [] : Js.length ? Js : Iu?.rowGrouping?.model ?? [], US = S.useMemo(
30601
+ const qS = Ce || G ? [] : Js.length ? Js : Iu?.rowGrouping?.model ?? [], US = S.useMemo(
30602
30602
  () => ({
30603
30603
  ...ei,
30604
30604
  ...Qh ? { sorting: Qh } : {},
@@ -31357,7 +31357,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
31357
31357
  onFilterModelChange: rN,
31358
31358
  rowSelectionModel: nN,
31359
31359
  onRowGroupingModelChange: G2,
31360
- disableRowGrouping: de?.disableRowGrouping ?? D?.disableRowGrouping,
31360
+ disableRowGrouping: G || de?.disableRowGrouping || D?.disableRowGrouping,
31361
31361
  onRowSelectionModelChange: tN,
31362
31362
  isRowSelectable: /* @__PURE__ */ s((U) => {
31363
31363
  const se = U?.id;