@firecms/core 3.0.0-canary.226 → 3.0.0-canary.227

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
@@ -12253,7 +12253,7 @@ const editEntityAction = {
12253
12253
  if (collection) {
12254
12254
  addRecentId(collection.id, entity.id);
12255
12255
  }
12256
- const path = collection?.collectionGroup ? entity.path : fullPath ?? entity.path;
12256
+ const path = collection?.collectionGroup ? collection.id : fullPath ?? collection?.id ?? entity.path;
12257
12257
  const defaultSelectedView = resolveDefaultSelectedView(collection ? collection.defaultSelectedView : void 0, {
12258
12258
  status: "existing",
12259
12259
  entityId: entity.id
@@ -12289,7 +12289,7 @@ const copyEntityAction = {
12289
12289
  path: entity.path,
12290
12290
  entityId: entity.id
12291
12291
  });
12292
- const path = collection?.collectionGroup ? entity.path : fullPath ?? entity.path;
12292
+ const path = collection?.collectionGroup ? collection.id : fullPath ?? collection?.id ?? entity.path;
12293
12293
  navigateToEntity({
12294
12294
  openEntityMode,
12295
12295
  collection,
@@ -18470,11 +18470,7 @@ const EntityCollectionView = React__default.memo(function EntityCollectionView2(
18470
18470
  }) {
18471
18471
  const context = useFireCMSContext();
18472
18472
  const navigation = useNavigationController();
18473
- const fullPath = (fullPathProp ? navigation.resolveIdsFrom(fullPathProp) : void 0) ?? collectionProp.path;
18474
- console.log("aaa", {
18475
- fullPathProp,
18476
- fullPath
18477
- });
18473
+ const fullPath = fullPathProp ?? collectionProp.path;
18478
18474
  const dataSource = useDataSource();
18479
18475
  const sideEntityController = useSideEntityController();
18480
18476
  const authController = useAuthController();