@firecms/core 3.0.0-canary.2 → 3.0.0-canary.3

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@firecms/core",
3
3
  "type": "module",
4
- "version": "3.0.0-canary.2",
4
+ "version": "3.0.0-canary.3",
5
5
  "description": "Awesome Firebase/Firestore-based headless open-source CMS",
6
6
  "funding": {
7
7
  "url": "https://github.com/sponsors/firecmsco"
@@ -46,8 +46,8 @@
46
46
  "./package.json": "./package.json"
47
47
  },
48
48
  "dependencies": {
49
- "@firecms/formex": "^3.0.0-canary.2",
50
- "@firecms/ui": "^3.0.0-canary.2",
49
+ "@firecms/formex": "^3.0.0-canary.3",
50
+ "@firecms/ui": "^3.0.0-canary.3",
51
51
  "@fontsource/ibm-plex-mono": "^5.0.8",
52
52
  "@fontsource/roboto": "^5.0.8",
53
53
  "@hello-pangea/dnd": "^16.5.0",
@@ -115,7 +115,7 @@
115
115
  "dist",
116
116
  "src"
117
117
  ],
118
- "gitHead": "24234382207c741094a561eb4b94a416f00e6b74",
118
+ "gitHead": "9d587b683991dfcefd28e1c13b693364b5de72b2",
119
119
  "publishConfig": {
120
120
  "access": "public"
121
121
  }
@@ -279,15 +279,7 @@ export function useBuildNavigationController<EC extends EntityCollection, UserTy
279
279
  }
280
280
 
281
281
  // for each odd path segment, get the collection
282
- const parentCollectionIds = result.map(r => getCollectionFromPaths(r)?.id).filter(Boolean) as string[];
283
-
284
- getCollectionFromPaths(oddPathSegments);
285
-
286
- // const allParentCollectionsForPath = getAllParentReferencesForPath(path);
287
- // console.log("allParentCollectionsForPath", allParentCollectionsForPath);
288
- // const parentCollectionIds = allParentCollectionsForPath.map(r => r.id);
289
- console.log("getParentCollectionIds", path, parentCollectionIds);
290
- return parentCollectionIds;
282
+ return result.map(r => getCollectionFromPaths(r)?.id).filter(Boolean) as string[];
291
283
  }, [getAllParentReferencesForPath])
292
284
 
293
285
  const convertIdsToPaths = useCallback((ids: string[]): string[] => {