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

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.92",
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.92",
50
+ "@firecms/ui": "^3.0.0-canary.92",
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": "9c6fcb4a58bcb8118ad47f6ab8c77536f7efc3ed",
106
106
  "publishConfig": {
107
107
  "access": "public"
108
108
  },
@@ -199,7 +199,7 @@ export function useBuildNavigationController<EC extends EntityCollection, UserTy
199
199
  );
200
200
 
201
201
  let shouldUpdateTopLevelNav = false;
202
- if (!areCollectionListsEqual(collectionsRef.current ?? [], resolvedCollections)) {
202
+ if (!areCollectionListsEqual(collectionsRef.current ?? [], resolvedCollections) || resolvedCollections.length === 0) {
203
203
  collectionsRef.current = resolvedCollections;
204
204
  shouldUpdateTopLevelNav = true;
205
205
  }