@dotcms/client 0.0.1-beta.1 → 0.0.1-beta.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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -1537,7 +1537,7 @@ function updateNavigation(pathname) {
|
|
|
1537
1537
|
postMessageToEditor({
|
|
1538
1538
|
action: exports.CLIENT_ACTIONS.NAVIGATION_UPDATE,
|
|
1539
1539
|
payload: {
|
|
1540
|
-
url: pathname
|
|
1540
|
+
url: pathname || '/'
|
|
1541
1541
|
}
|
|
1542
1542
|
});
|
|
1543
1543
|
}
|
package/index.esm.js
CHANGED