@firecms/core 3.0.0-canary.128 → 3.0.0-canary.129
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.umd.js
CHANGED
|
@@ -9255,14 +9255,14 @@
|
|
|
9255
9255
|
}
|
|
9256
9256
|
);
|
|
9257
9257
|
}, [emptyComponent, loading]);
|
|
9258
|
-
const empty =
|
|
9258
|
+
const empty = data?.length ?? true;
|
|
9259
9259
|
const customView = error ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
9260
9260
|
ui.CenteredView,
|
|
9261
9261
|
{
|
|
9262
9262
|
maxWidth: "2xl",
|
|
9263
9263
|
className: "flex flex-col gap-2",
|
|
9264
9264
|
children: [
|
|
9265
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.Typography, { variant: "h6", children: "Error
|
|
9265
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Typography, { variant: "h6", children: "Error" }),
|
|
9266
9266
|
error?.message && /* @__PURE__ */ jsxRuntime.jsx(SafeLinkRenderer, { text: error.message })
|
|
9267
9267
|
]
|
|
9268
9268
|
}
|