@protobase/ui 0.45.6 → 0.45.7
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/app/record-page.js +2 -2
- package/dist/package.js +1 -1
- package/dist/shell/assets/{app-eojDa_M1.js → app-BF4QAS2n.js} +5 -5
- package/dist/shell/assets/{index-DdARtlpl.js → index-C6y-qez_.js} +2 -2
- package/dist/shell/assets/{records-map-CUH7zijo.js → records-map-B8Qo2Ik0.js} +2 -2
- package/dist/shell/assets/{shared-protobase-ui-6BH7qOTT.js → shared-protobase-ui-CGlvWsld.js} +2 -2
- package/dist/shell/index.html +3 -3
- package/dist/shell/protobase.shell.json +1 -1
- package/dist/shell/protobase.sw.js +2 -2
- package/dist/shell-source-maps/assets/app-BF4QAS2n.js.map +1 -0
- package/dist/shell-source-maps/assets/{index-DdARtlpl.js.map → index-C6y-qez_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-CUH7zijo.js.map → records-map-B8Qo2Ik0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{shared-protobase-ui-6BH7qOTT.js.map → shared-protobase-ui-CGlvWsld.js.map} +1 -1
- package/package.json +4 -4
- package/dist/shell-source-maps/assets/app-eojDa_M1.js.map +0 -1
package/dist/app/record-page.js
CHANGED
|
@@ -313,7 +313,7 @@ const LoadedRecord = ({ model, recordKey, stored, preview }) => {
|
|
|
313
313
|
}) : contact ? /* @__PURE__ */ jsx(ContactLink, {
|
|
314
314
|
format: contact,
|
|
315
315
|
value: text
|
|
316
|
-
}) : /* @__PURE__ */ jsx("
|
|
316
|
+
}) : /* @__PURE__ */ jsx("span", {
|
|
317
317
|
title: valueTitle(field, value, void 0, hint(name)),
|
|
318
318
|
children: text
|
|
319
319
|
});
|
|
@@ -548,7 +548,7 @@ const LoadedRecord = ({ model, recordKey, stored, preview }) => {
|
|
|
548
548
|
title: text$1("details"),
|
|
549
549
|
rows: [auditField(model, "created"), updatedAt].flatMap((name) => {
|
|
550
550
|
const field = name ? model.fields[name] : void 0;
|
|
551
|
-
if (!name || !field || !visible(name)) return [];
|
|
551
|
+
if (!name || !field || !visible(name) || sidebarFields.includes(name)) return [];
|
|
552
552
|
return [{
|
|
553
553
|
label: hint(name)?.label ?? humanize(name),
|
|
554
554
|
value: known(name) ? /* @__PURE__ */ jsx("span", {
|
package/dist/package.js
CHANGED