@elaraai/e3-ui-components 1.0.57 → 1.0.58

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
@@ -64135,7 +64135,7 @@ const PagedDatasetPreview = memo(function PagedDatasetPreview2({
64135
64135
  onNeedRows
64136
64136
  }, [totals, pages, onNeedRows]);
64137
64137
  if (error3 !== null) {
64138
- if (error3 instanceof ApiError && (error3.code === "dataset_too_large_unindexed" || error3.code === "dataset_too_large")) {
64138
+ if (error3 instanceof ApiError && error3.code === "dataset_too_large") {
64139
64139
  return /* @__PURE__ */ jsxs(Flex, { height: "100%", direction: "column", align: "center", justify: "center", gap: 3, p: 6, children: [
64140
64140
  /* @__PURE__ */ jsx$1(Text, { fontSize: "lg", color: "fg.warning", fontWeight: "bold", children: "Too large to page" }),
64141
64141
  /* @__PURE__ */ jsx$1(Text, { color: "fg.muted", fontSize: "sm", textAlign: "center", maxW: "32rem", children: typeof error3.details === "string" ? error3.details : "This dataset cannot be paged server-side." }),