@firecms/core 3.0.0-canary.92 → 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/dist/index.es.js
CHANGED
|
@@ -3978,7 +3978,11 @@ function useBuildNavigationController(props) {
|
|
|
3978
3978
|
]
|
|
3979
3979
|
);
|
|
3980
3980
|
let shouldUpdateTopLevelNav = false;
|
|
3981
|
-
if (!areCollectionListsEqual(collectionsRef.current ?? [], resolvedCollections)
|
|
3981
|
+
if (!areCollectionListsEqual(collectionsRef.current ?? [], resolvedCollections)) {
|
|
3982
|
+
collectionsRef.current = resolvedCollections;
|
|
3983
|
+
shouldUpdateTopLevelNav = true;
|
|
3984
|
+
}
|
|
3985
|
+
if (collectionsRef.current === void 0) {
|
|
3982
3986
|
collectionsRef.current = resolvedCollections;
|
|
3983
3987
|
shouldUpdateTopLevelNav = true;
|
|
3984
3988
|
}
|