@ai-matrx/detail 0.1.2 → 0.1.4

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/react.js CHANGED
@@ -1241,7 +1241,19 @@ function FieldsSection({ core }) {
1241
1241
  return /* @__PURE__ */ jsx5(LoadingFields, { core, label });
1242
1242
  }
1243
1243
  if (core.status === "not-found") {
1244
- return /* @__PURE__ */ jsx5(Notice, { tone: "warn", children: `This ${label} couldn't be found \u2014 it may have been moved, deleted, or isn't shared with you.` });
1244
+ const sentence = `This ${label} couldn't be found \u2014 it may have been moved, deleted, or isn't shared with you.`;
1245
+ return /* @__PURE__ */ jsxs4(Notice, { tone: "warn", children: [
1246
+ sentence,
1247
+ /* @__PURE__ */ jsx5(
1248
+ ErrorActions2,
1249
+ {
1250
+ origin: "detail/DetailBody",
1251
+ operation: `Open this ${label}`,
1252
+ message: sentence,
1253
+ records: [{ type: core.ref.type, id: core.ref.id }]
1254
+ }
1255
+ )
1256
+ ] });
1245
1257
  }
1246
1258
  if (core.status === "error") {
1247
1259
  return /* @__PURE__ */ jsxs4(Notice, { tone: "error", children: [