@firecms/core 3.0.0-canary.103 → 3.0.0-canary.104

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
@@ -2881,6 +2881,9 @@ function singular(word, amount) {
2881
2881
  function getEntityPreviewKeys(targetCollection, fields, previewProperties, limit = 3) {
2882
2882
  const allProperties = Object.keys(targetCollection.properties);
2883
2883
  let listProperties = previewProperties?.filter((p) => allProperties.includes(p));
2884
+ if (!listProperties && targetCollection.previewProperties) {
2885
+ listProperties = targetCollection.previewProperties?.filter((p) => allProperties.includes(p));
2886
+ }
2884
2887
  if (listProperties && listProperties.length > 0) {
2885
2888
  return listProperties;
2886
2889
  } else {
@@ -14775,6 +14778,7 @@ function ReferenceFieldBindingInternal({
14775
14778
  showError,
14776
14779
  isSubmitting,
14777
14780
  disabled,
14781
+ minimalistView,
14778
14782
  touched,
14779
14783
  autoFocus,
14780
14784
  property,
@@ -14815,7 +14819,7 @@ function ReferenceFieldBindingInternal({
14815
14819
  referenceDialogController.open();
14816
14820
  }, [referenceDialogController]);
14817
14821
  return /* @__PURE__ */ jsxs(Fragment, { children: [
14818
- /* @__PURE__ */ jsx(
14822
+ !minimalistView && /* @__PURE__ */ jsx(
14819
14823
  LabelWithIcon,
14820
14824
  {
14821
14825
  icon: getIconForProperty(property, "small"),