@firecms/core 3.0.0-canary.91 → 3.0.0-canary.93

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.91",
4
+ "version": "3.0.0-canary.93",
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.91",
50
- "@firecms/ui": "^3.0.0-canary.91",
49
+ "@firecms/formex": "^3.0.0-canary.93",
50
+ "@firecms/ui": "^3.0.0-canary.93",
51
51
  "@fontsource/jetbrains-mono": "^5.0.20",
52
52
  "@hello-pangea/dnd": "^16.6.0",
53
53
  "@radix-ui/react-portal": "^1.1.1",
@@ -102,7 +102,7 @@
102
102
  "dist",
103
103
  "src"
104
104
  ],
105
- "gitHead": "fc773194d8166c27d04bc69fec41b171a5b3e2df",
105
+ "gitHead": "ada0c0eb82355fdbfe1d288ffda38af1e4982187",
106
106
  "publishConfig": {
107
107
  "access": "public"
108
108
  },
@@ -203,6 +203,10 @@ export function useBuildNavigationController<EC extends EntityCollection, UserTy
203
203
  collectionsRef.current = resolvedCollections;
204
204
  shouldUpdateTopLevelNav = true;
205
205
  }
206
+ if (collectionsRef.current === undefined) {
207
+ collectionsRef.current = resolvedCollections;
208
+ shouldUpdateTopLevelNav = true;
209
+ }
206
210
  if (!equal(viewsRef.current, resolvedViews)) {
207
211
  viewsRef.current = resolvedViews;
208
212
  shouldUpdateTopLevelNav = true;