@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.es.js CHANGED
@@ -9251,14 +9251,14 @@ const VirtualTable = React__default.memo(
9251
9251
  }
9252
9252
  );
9253
9253
  }, [emptyComponent, loading]);
9254
- const empty = !loading && (data?.length ?? 0) === 0;
9254
+ const empty = data?.length ?? true;
9255
9255
  const customView = error ? /* @__PURE__ */ jsxs(
9256
9256
  CenteredView,
9257
9257
  {
9258
9258
  maxWidth: "2xl",
9259
9259
  className: "flex flex-col gap-2",
9260
9260
  children: [
9261
- /* @__PURE__ */ jsx(Typography, { variant: "h6", children: "Error fetching data from the data source" }),
9261
+ /* @__PURE__ */ jsx(Typography, { variant: "h6", children: "Error" }),
9262
9262
  error?.message && /* @__PURE__ */ jsx(SafeLinkRenderer, { text: error.message })
9263
9263
  ]
9264
9264
  }