@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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
package/dist/index.cjs
CHANGED
|
@@ -64153,7 +64153,7 @@ const PagedDatasetPreview = React.memo(function PagedDatasetPreview2({
|
|
|
64153
64153
|
onNeedRows
|
|
64154
64154
|
}, [totals, pages, onNeedRows]);
|
|
64155
64155
|
if (error3 !== null) {
|
|
64156
|
-
if (error3 instanceof e3ApiClient.ApiError &&
|
|
64156
|
+
if (error3 instanceof e3ApiClient.ApiError && error3.code === "dataset_too_large") {
|
|
64157
64157
|
return /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { height: "100%", direction: "column", align: "center", justify: "center", gap: 3, p: 6, children: [
|
|
64158
64158
|
/* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "lg", color: "fg.warning", fontWeight: "bold", children: "Too large to page" }),
|
|
64159
64159
|
/* @__PURE__ */ jsxRuntime.jsx(react.Text, { color: "fg.muted", fontSize: "sm", textAlign: "center", maxW: "32rem", children: typeof error3.details === "string" ? error3.details : "This dataset cannot be paged server-side." }),
|