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